getTypeCodeExpression
public String getTypeCodeExpression()
getTypeCodeExpression
produces a string for an expression
of type TypeCode that describes this type.
- getTypeCodeExpression in interface TypeDeclaration
- a string value.
getTypeCodeExpression
public String getTypeCodeExpression(Set knownTypes)
- getTypeCodeExpression in interface TypeDeclaration
get_ids
public String[] get_ids()
holderName
public String holderName()
- holderName in interface TypeDeclaration
openOutput
protected PrintWriter openOutput(String typeName)
Open a PrintWriter to write to the .java file for typeName.
- null, if the output file already exists and is more
recent than the input IDL file.
printClassComment
protected void printClassComment(String className,
PrintWriter ps)
printHelper
protected void printHelper()
Generate the helper class for an interface
printHolder
protected void printHolder()
Print the holder class for the interface.
printIRHelper
protected void printIRHelper()
printImplSkeleton
protected void printImplSkeleton()
printInterface
protected void printInterface()
generate the signature interface
printLocalBase
protected void printLocalBase()
printLocalTie
protected void printLocalTie()
printOperations
protected void printOperations()
generate the operations Java interface (not for pseudo interfaces)
printPackage
protected void printPackage(PrintWriter ps)
printReadExpression
public String printReadExpression(String Streamname)
- printReadExpression in interface TypeDeclaration
printStub
protected void printStub()
Generates a stub class for this Interface
printSuperclassImports
protected void printSuperclassImports(PrintWriter ps)
If this interface inherits from classes in the unnamed package,
generate explicit import statements for them.
printTieSkeleton
protected void printTieSkeleton()
print the stream-based skeleton class
printWriteStatement
public String printWriteStatement(String var_name,
String Streamname)
- printWriteStatement in interface TypeDeclaration
setPackage
public void setPackage(String s)
- setPackage in interface TypeDeclaration
set_abstract
public void set_abstract()
set_included
public void set_included(boolean i)
used by the lexer to mark this symbol as included from another
IDL file
- set_included in interface TypeDeclaration
set_locality
public void set_locality(boolean local)
set by the parser after creating this object depending
on the presence of the "local" modifier.