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
public class ForwardEntry extends SymtabEntry implements InterfaceType
This is the symbol table entry for forward declarations of interfaces.
-
-
Field Summary
Fields Modifier and Type Field Description private int
_type
(package private) java.util.Vector<InterfaceEntry>
derivers
(package private) static ForwardGen
forwardGen
(package private) java.util.Vector<SymtabEntry>
types
-
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
Constructors Modifier Constructor Description protected
ForwardEntry()
protected
ForwardEntry(ForwardEntry that)
protected
ForwardEntry(SymtabEntry that, IDLID clone)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
This is a shallow copy clonevoid
generate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)
Invoke the forward declaration generator.Generator
generator()
Access the interface generator.int
getInterfaceType()
(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 Detail
-
forwardGen
static ForwardGen forwardGen
-
derivers
java.util.Vector<InterfaceEntry> derivers
-
types
java.util.Vector<SymtabEntry> types
-
_type
private int _type
-
-
Constructor Detail
-
ForwardEntry
protected ForwardEntry()
-
ForwardEntry
protected ForwardEntry(ForwardEntry that)
-
ForwardEntry
protected ForwardEntry(SymtabEntry that, IDLID clone)
-
-
Method Detail
-
clone
public java.lang.Object clone()
Description copied from class:SymtabEntry
This is a shallow copy clone- Overrides:
clone
in classSymtabEntry
-
generate
public void generate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)
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:
SymtabEntry
-
generator
public Generator generator()
Access the interface generator.- Overrides:
generator
in classSymtabEntry
- Returns:
- an object which implements the InterfaceGen interface.
- See Also:
InterfaceGen
-
replaceForwardDecl
static boolean replaceForwardDecl(InterfaceEntry interfaceEntry)
-
getInterfaceType
public int getInterfaceType()
- Specified by:
getInterfaceType
in interfaceInterfaceType
-
setInterfaceType
public void setInterfaceType(int type)
- Specified by:
setInterfaceType
in interfaceInterfaceType
-
-