accept
public void accept(IDLTreeVisitor visitor)
let the visitor pattern do its work...
- accept in interface IdlSymbol
basic
public boolean basic()
- basic in interface TypeSpec
- true if this is a basic type
className
public String className()
clone
public Object clone()
- clone in interface TypeSpec
full_name
public String full_name()
- fully scoped IDL identifier
getTypeCodeExpression
public String getTypeCodeExpression()
- getTypeCodeExpression in interface TypeSpec
- a string for an expression of type TypeCode that describes this type
Note that this is the TypeSpec for the alias type and is not unwound to
the original type.
holderName
public String holderName()
- holderName in interface TypeSpec
originalType
public TypeSpec originalType()
- the original type for which this is an alias
parse
public void parse()
Perform the parsing phase, must be called before code
generation
- parse in interface TypeSpec
print
public void print(PrintWriter ps)
Code generation, generate holder and helper classes. Holder classes
are only generated for array and sequence types.
- print in interface TypeSpec
printReadExpression
public String printReadExpression(String streamname)
- printReadExpression in interface TypeSpec
printReadStatement
public String printReadStatement(String varname,
String streamname)
- printReadStatement in interface TypeSpec
printWriteStatement
public String printWriteStatement(String var_name,
String streamname)
- printWriteStatement in interface TypeSpec
setEnclosingSymbol
public void setEnclosingSymbol(IdlSymbol s)
- setEnclosingSymbol in interface TypeSpec
setPackage
public void setPackage(String s)
- setPackage in interface TypeSpec
toString
public String toString()
- toString in interface TypeSpec
typeName
public String typeName()
- typeName in interface TypeSpec
- the type name of this alias, which is the name of the
original type