Put an invalid or predefined value as default when initializing the field. Like this:

    private int nativeVlanId = NATIVE_VLAN_DEFAULT_VALUE;

Using this, you will know if the method `setNativeVlanId` is ever called.