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 ForwardGenforwardGen(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 protectedForwardEntry()protectedForwardEntry(ForwardEntry that)protectedForwardEntry(SymtabEntry that, IDLID clone)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()This is a shallow copy clonevoidgenerate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)Invoke the forward declaration generator.Generatorgenerator()Access the interface generator.intgetInterfaceType()(package private) static booleanreplaceForwardDecl(InterfaceEntry interfaceEntry)voidsetInterfaceType(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:SymtabEntryThis is a shallow copy clone- Overrides:
clonein classSymtabEntry
-
generate
public void generate(java.util.Hashtable symbolTable, java.io.PrintWriter stream)Invoke the forward declaration generator.- Overrides:
generatein 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:
generatorin classSymtabEntry- Returns:
- an object which implements the InterfaceGen interface.
- See Also:
InterfaceGen
-
replaceForwardDecl
static boolean replaceForwardDecl(InterfaceEntry interfaceEntry)
-
getInterfaceType
public int getInterfaceType()
- Specified by:
getInterfaceTypein interfaceInterfaceType
-
setInterfaceType
public void setInterfaceType(int type)
- Specified by:
setInterfaceTypein interfaceInterfaceType
-
-