/** * PUBLIC: * Returns the InterfacePolicy. * The interface policy allows for a descriptor's public and variable interfaces to be defined. * Caution must be used in using this method as it lazy initializes an interface policy. * Calling this on a descriptor that does not use interfaces will cause problems, #hasInterfacePolicy() must always first be called. */ public InterfacePolicy getInterfacePolicy() { if (interfacePolicy == null) { // Lazy initialize to conserve space in non-inherited classes. setInterfacePolicy(new InterfacePolicy(this)); } return interfacePolicy; }
/** * PUBLIC: * Returns the InterfacePolicy. * The interface policy allows for a descriptor's public and variable interfaces to be defined. * Caution must be used in using this method as it lazy initializes an interface policy. * Calling this on a descriptor that does not use interfaces will cause problems, #hasInterfacePolicy() must always first be called. */ public InterfacePolicy getInterfacePolicy() { if (interfacePolicy == null) { // Lazy initialize to conserve space in non-inherited classes. setInterfacePolicy(new InterfacePolicy(this)); } return interfacePolicy; }
/** * PUBLIC: * Returns the InterfacePolicy. * The interface policy allows for a descriptor's public and variable interfaces to be defined. * Caution must be used in using this method as it lazy initializes an interface policy. * Calling this on a descriptor that does not use interfaces will cause problems, #hasInterfacePolicy() must always first be called. */ public InterfacePolicy getInterfacePolicy() { if (interfacePolicy == null) { // Lazy initialize to conserve space in non-inherited classes. setInterfacePolicy(new InterfacePolicy(this)); } return interfacePolicy; }