Package com.sun.tools.corba.ee.idl
Class ForwardEntry
java.lang.Object
com.sun.tools.corba.ee.idl.SymtabEntry
com.sun.tools.corba.ee.idl.ForwardEntry
- All Implemented Interfaces:
InterfaceType
- Direct Known Subclasses:
ForwardValueEntry
This is the symbol table entry for forward declarations of interfaces.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
(package private) Vector
<InterfaceEntry> (package private) static ForwardGen
(package private) Vector
<SymtabEntry> Fields inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
includeStack, maxKey, setEmit
Fields inherited from interface com.sun.tools.corba.ee.idl.InterfaceType
ABSTRACT, LOCAL, LOCAL_SIGNATURE_ONLY, LOCALSERVANT, NORMAL
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
ForwardEntry
(ForwardEntry that) protected
ForwardEntry
(SymtabEntry that, IDLID clone) -
Method Summary
Modifier and TypeMethodDescriptionclone()
This is a shallow copy clonevoid
generate
(Hashtable symbolTable, PrintWriter stream) Invoke the forward declaration generator.Access the interface generator.int
(package private) static boolean
replaceForwardDecl
(InterfaceEntry interfaceEntry) void
setInterfaceType
(int type) Methods inherited from class com.sun.tools.corba.ee.idl.SymtabEntry
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, enteringInclude, exitingInclude, fullName, getVariableKey, growVars, initDynamicVars, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, type, typeName, typeName
-
Field Details
-
forwardGen
-
derivers
Vector<InterfaceEntry> derivers -
types
Vector<SymtabEntry> types -
_type
private int _type
-
-
Constructor Details
-
ForwardEntry
protected ForwardEntry() -
ForwardEntry
-
ForwardEntry
-
-
Method Details
-
clone
Description copied from class:SymtabEntry
This is a shallow copy clone- Overrides:
clone
in classSymtabEntry
-
generate
Invoke the forward declaration generator.- Overrides:
generate
in classSymtabEntry
- Parameters:
symbolTable
- the symbol table is a hash table whose key is a fully qualified type name and whose value is a SymtabEntry or a subclass of SymtabEntry.stream
- the stream to which the generator should sent its output.- See Also:
-
generator
Access the interface generator.- Overrides:
generator
in classSymtabEntry
- Returns:
- an object which implements the InterfaceGen interface.
- See Also:
-
replaceForwardDecl
-
getInterfaceType
public int getInterfaceType()- Specified by:
getInterfaceType
in interfaceInterfaceType
-
setInterfaceType
public void setInterfaceType(int type) - Specified by:
setInterfaceType
in interfaceInterfaceType
-