|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.javatools.parser.util.ArrayListHeap
oracle.javatools.parser.java.v1.symbol.JavaSymbol
oracle.javatools.parser.java.v1.symbol.ExpressionSymbol
oracle.javatools.parser.java.v1.symbol.CreatorExpressionSymbol
public class CreatorExpressionSymbol
CreatorExpressionSymbol represents all primaries and primary selectors that start with the 'new' token. There are four types of creators: just class instances, anonymous classes, uninitialized arrays, and initialized arrays.
Field Summary | |
---|---|
static int |
ANONYMOUS_CLASS
This is an anonymous class: "new classname( arguments ) { }". |
static int |
CLASS_INSTANCE
This is a simple new statement: "new classname( arguments )". |
static int |
INITIALIZED_ARRAY
This is an initialized array creator. |
static int |
UNINITIALIZED_ARRAY
This is an uninitialized array creator. |
Fields inherited from class oracle.javatools.parser.java.v1.symbol.ExpressionSymbol |
---|
CATEGORY_ARGUMENTS, CATEGORY_ARRAY_CONSTANT, CATEGORY_ASG_OPERATOR, CATEGORY_BRACKET_DEREFERENCE, CATEGORY_CONSTANT, CATEGORY_CREATOR, CATEGORY_DOT_OPERATOR, CATEGORY_INFIX_OPERATOR, CATEGORY_PAREN_WRAPPER, CATEGORY_POSTFIX_OPERATOR, CATEGORY_PREFIX_OPERATOR, CATEGORY_PRIMARY, CATEGORY_PRIMARY_BRACKETS, CATEGORY_QUES_OPERATOR, CATEGORY_TYPECAST, CATEGORY_UNPARSED, CATEGORY_WRAPPER, firstOperand |
Fields inherited from interface oracle.javatools.parser.util.ExpressionObject |
---|
ATOM, INFIX_OP, LEFT_ASSOC, MAX_PRECEDENCE, NON_ASSOC, POSTFIX_OP, PREFIX_OP, RIGHT_ASSOC, TERNARY_OP |
Method Summary | |
---|---|
ClassSymbol |
getClassDefinition()
Returns the class definition of an anonymous class. |
TypeSymbol |
getClassType()
Gets the type of the class instance just created. |
int |
getCreatorType()
Gets which kind of creator this is. |
NameSymbol |
getName()
Gets the name symbol. |
void |
setName(NameSymbol name)
Sets the name symbol. |
Methods inherited from class oracle.javatools.parser.java.v1.symbol.ExpressionSymbol |
---|
addOperand, classify, closeOperator, getAssociativity, getCategory, getDataValue, getExactCode, getExpressions, getFirstOperand, getIndex, getPrecedence, getPrecedence, getSecondOperand, getThirdOperand, getTypecast, isFilledIn |
Methods inherited from class oracle.javatools.parser.java.v1.symbol.JavaSymbol |
---|
getCode, getEndOffset, getParent, getStartOffset |
Methods inherited from class oracle.javatools.parser.util.ArrayListHeap |
---|
allocArrayList, freeArrayList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CLASS_INSTANCE
public static final int ANONYMOUS_CLASS
public static final int UNINITIALIZED_ARRAY
public static final int INITIALIZED_ARRAY
Method Detail |
---|
public int getCreatorType()
public ClassSymbol getClassDefinition()
public TypeSymbol getClassType()
public NameSymbol getName()
Nameable
getName
in interface Nameable
getName
in class ExpressionSymbol
public void setName(NameSymbol name)
Nameable
setName
in interface Nameable
setName
in class ExpressionSymbol
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |