Class InterfaceType

All Implemented Interfaces:
Cloneable, Constants, Constants, ContextElement, Constants, RuntimeConstants
Direct Known Subclasses:
NCInterfaceType, RemoteType, SpecialInterfaceType

public abstract class InterfaceType extends CompoundType
InterfaceType is an abstract base representing any non-special interface type.
  • Constructor Details

    • InterfaceType

      protected InterfaceType(ContextStack stack, int typeCode, ClassDefinition classDef)
      Create a InterfaceType instance for the given class. NOTE: This constructor is ONLY for SpecialInterfaceType.
    • InterfaceType

      protected InterfaceType(ContextStack stack, ClassDefinition classDef, int typeCode)
      Create a InterfaceType instance for the given class. The resulting object is not yet completely initialized. Subclasses must call initialize(directInterfaces,directInterfaces,directConstants);
  • Method Details

    • print

      public void print(IndentingWriter writer, boolean useQualifiedNames, boolean useIDLNames, boolean globalIDLNames) throws IOException
      Print this type.
      Overrides:
      print in class Type
      Parameters:
      writer - The stream to print to.
      useQualifiedNames - If true, print qualified names; otherwise, print unqualified names.
      useIDLNames - If true, print IDL names; otherwise, print java names.
      globalIDLNames - If true and useIDLNames true, prepends "::".
      Throws:
      IOException