Class NCClassType

  • All Implemented Interfaces:
    java.lang.Cloneable, Constants, Constants, ContextElement, Constants, RuntimeConstants

    public class NCClassType
    extends ClassType
    NCClassType represents any non-special class which does not extends one or more interfaces which inherit from java.rmi.Remote.

    The static forImplementation(...) method must be used to obtain an instance, and will return null if the ClassDefinition is non-conforming.

    • Constructor Detail

      • NCClassType

        private NCClassType​(ContextStack stack,
                            ClassDefinition classDef)
        Create a NCClassType instance for the given class. The resulting object is not yet completely initialized.
    • Method Detail

      • forNCClass

        public static NCClassType forNCClass​(ClassDefinition classDef,
                                             ContextStack stack)
        Create an NCClassType for the given class. If the class is not a properly formed or if some other error occurs, the return value will be null, and errors will have been reported to the supplied BatchEnvironment.
      • getTypeDescription

        public java.lang.String getTypeDescription()
        Return a string describing this type.
        Specified by:
        getTypeDescription in class Type
      • initialize

        private boolean initialize​(ContextStack stack)
        Initialize this instance.