Class AbstractType

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

    public class AbstractType
    extends RemoteType
    AbstractType represents any non-special interface which does not inherit from java.rmi.Remote, for which all methods throw RemoteException.

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

    • Constructor Detail

      • AbstractType

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

      • forAbstract

        public static AbstractType forAbstract​(ClassDefinition classDef,
                                               ContextStack stack,
                                               boolean quiet)
        Create an AbstractType 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.
        Overrides:
        getTypeDescription in class RemoteType
      • initialize

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