enclosing_symbol
protected IdlSymbol enclosing_symbol
fileSeparator
protected static final char fileSeparator
included
protected boolean included
inhibitionFlag
protected boolean inhibitionFlag
is_pseudo
protected boolean is_pseudo
omg_package_prefix
protected String omg_package_prefix
pack_name
public String pack_name
accept
public void accept(IDLTreeVisitor visitor)
let the visitor pattern do its work...
addImportedAlias
public void addImportedAlias(String alias)
Called by derived classes to potentially add the aliasHelper
name to the generated Java class's import list, which is
necessary in case the mapped code is in the unnamed package.
alias
- the name of the alias
addImportedName
public void addImportedName(String name)
Called by derived classes to potentially add the name and the
nameHelper to the generated Java class's import list, which is
necessary in case the mapped code is in the unnamed package.
name
-
addImportedName
public void addImportedName(String name,
TypeSpec type)
Called by derived classes to potentially add the name and the
nameHelper to the generated Java class's import list, which is
necessary in case the mapped code is in the unnamed package.
name
- type
-
addImportedNameHolder
public void addImportedNameHolder(String name)
Called by derived classes to potentially add the name, the
nameHelper and nameHolder to the generated Java class's import
list, which is necessary in case the mapped code is in the
unnamed package.
name
-
deEscapeName
public String deEscapeName()
escapeName
public void escapeName()
A number of IDL constructs need to have their names
checked for clashes with name reserved by Java or
the Java Language Mapping.
generateIncluded
protected boolean generateIncluded()
access to parser state (e.g. options)
getEnclosingSymbol
public IdlSymbol getEnclosingSymbol()
id
public String id()
- this symbol's repository Id
isEscaped
public boolean isEscaped()
is_included
public boolean is_included()
is this a symbol included from another IDL file?
Used to determine if code should be generated or not.
is_pseudo
public boolean is_pseudo()
is this a PIDL symbol?
name
public String name()
get this symbol's name
new_num
public static int new_num()
omgPrefix
public String omgPrefix()
- "org.omg." if the symbol has been declared inside a
scope with a pragma prefix of "omg.org".
print
public void print(PrintWriter ps)
printIdMethod
public void printIdMethod(PrintWriter ps)
printImport
public void printImport(PrintWriter ps)
setEnclosingSymbol
public void setEnclosingSymbol(IdlSymbol s)
setPackage
public void setPackage(String s)
setPrintPhaseNames
public void setPrintPhaseNames()
set_name
public void set_name(String n)
the name of this symbol
set_pseudo
public void set_pseudo()