|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.parser.java.v2.common.SignatureParser<SignatureHasType>
oracle.javatools.parser.java.v2.common.QuickSignatureParser
public class QuickSignatureParser
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.javatools.parser.java.v2.JavaPreferences |
---|
JavaPreferences.MemberOrder |
Field Summary |
---|
Fields inherited from class oracle.javatools.parser.java.v2.common.SignatureParser |
---|
buffer, curToken, errorMessage, lexer |
Fields inherited from interface oracle.javatools.parser.java.v2.JavaOperators |
---|
OPT_ADD, OPT_ADDASG, OPT_AND, OPT_ANNOTATION, OPT_ARRAYCONST, OPT_ASG, OPT_base, OPT_BITAND, OPT_BITANDASG, OPT_BITNOT, OPT_BITOR, OPT_BITORASG, OPT_BITXOR, OPT_BITXORASG, OPT_CLASS_LITERAL, OPT_COND, OPT_DEREF, OPT_DIV, OPT_DIVASG, OPT_DOT, OPT_EQ, OPT_GE, OPT_GT, OPT_INSTANCEOF, OPT_invalid, OPT_INVOKE, OPT_LE, OPT_LIST, OPT_LITERAL, OPT_LSH, OPT_LSHASG, OPT_LT, OPT_max, OPT_MINUS, OPT_MINUSASG, OPT_MOD, OPT_MODASG, OPT_MUL, OPT_MULASG, OPT_NEGATIVE, OPT_NESTEXP, OPT_NEWARRAY, OPT_NEWOBJECT, OPT_NOT, OPT_NOTEQ, OPT_OR, OPT_POSITIVE, OPT_POSTDEC, OPT_POSTINC, OPT_precedence, OPT_PREDEC, OPT_PREINC, OPT_QUALIFIED_SUPER, OPT_QUALIFIED_THIS, OPT_RSH, OPT_RSHASG, OPT_SIMPLE_NAME, OPT_tokens, OPT_TYPE, OPT_TYPECAST, OPT_URSH, OPT_URSHASG, OPT_words |
Constructor Summary | |
---|---|
protected |
QuickSignatureParser(java.lang.String text, JavaIsGeneric owningGeneric, JavaProvider provider) |
Method Summary | |
---|---|
protected void |
addTypeArgument(SignatureHasType baseType, SignatureHasType typeArgument) Appends a type argument onto the given base type. |
protected SignatureHasType |
getArrayType(SignatureHasType type) Represents an array type with T as the component type (i.e. |
protected SignatureHasType |
getBoundedWildcard(boolean extendsBound, SignatureHasType bound) Represents a bounded wildcard. |
protected SignatureHasType |
getClassType(char ch, java.lang.String name) Represents a type that is a class, interface, enum, or annotation type. |
protected SignatureHasType |
getPrimitiveType(PrimitiveType primitive) Represents a primitive type. |
protected SignatureHasType |
getTypeVariable(java.lang.String name) Represents a type variable. |
protected SignatureHasType |
getUnboundedWildcard() Represents an unbounded wildcard. |
protected void |
pushInnerClassType(SignatureHasType baseType, java.lang.String name) Represents an inner type that is a class, interface, enum, or annotation type. |
Methods inherited from class oracle.javatools.parser.java.v2.common.SignatureParser |
---|
error, error, nextToken, nextToken, optionalToken, optionalToken, parseTypeSignature0, skipToken |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected QuickSignatureParser(java.lang.String text, JavaIsGeneric owningGeneric, JavaProvider provider)
Method Detail |
---|
protected SignatureHasType getUnboundedWildcard()
SignatureParser
getUnboundedWildcard
in class SignatureParser<SignatureHasType>
protected SignatureHasType getBoundedWildcard(boolean extendsBound, SignatureHasType bound)
SignatureParser
getBoundedWildcard
in class SignatureParser<SignatureHasType>
extendsBound
- True means there is an extends bound. False means there is a super bound.protected void addTypeArgument(SignatureHasType baseType, SignatureHasType typeArgument)
SignatureParser
addTypeArgument
in class SignatureParser<SignatureHasType>
baseType
- The type to be parameterized.typeArgument
- The type argument.protected SignatureHasType getClassType(char ch, java.lang.String name)
SignatureParser
getClassType
in class SignatureParser<SignatureHasType>
protected void pushInnerClassType(SignatureHasType baseType, java.lang.String name)
SignatureParser
pushInnerClassType
in class SignatureParser<SignatureHasType>
protected SignatureHasType getTypeVariable(java.lang.String name)
SignatureParser
getTypeVariable
in class SignatureParser<SignatureHasType>
protected SignatureHasType getArrayType(SignatureHasType type)
SignatureParser
getArrayType
in class SignatureParser<SignatureHasType>
protected SignatureHasType getPrimitiveType(PrimitiveType primitive)
SignatureParser
getPrimitiveType
in class SignatureParser<SignatureHasType>
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |