Class NCClassType

All Implemented Interfaces:
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 Details

    • NCClassType

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

    • 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 String getTypeDescription()
      Return a string describing this type.
      Specified by:
      getTypeDescription in class Type
    • initialize

      private boolean initialize(ContextStack stack)
      Initialize this instance.