Class NCInterfaceType

All Implemented Interfaces:
Cloneable, Constants, Constants, ContextElement, Constants, RuntimeConstants

public class NCInterfaceType extends InterfaceType
NCInterfaceType represents any non-special, non-conforming interface.

The static forNCInterface(...) method must be used to obtain an instance.

  • Constructor Details

    • NCInterfaceType

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

    • forNCInterface

      public static NCInterfaceType forNCInterface(ClassDefinition classDef, ContextStack stack)
      Create an NCInterfaceType 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.