|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| 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.AbstractElement
oracle.javatools.parser.java.v2.common.SignatureHasType
public final class SignatureHasType
This JavaHasType gets its name in that it's used for signature parsing.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.javatools.parser.java.v2.JavaPreferences |
|---|
JavaPreferences.MemberOrder |
| Field Summary | |
|---|---|
protected java.util.List<JavaHasType> |
argumentsThe type arguments applied to this type. |
protected short |
arrayArray dimensions. |
protected byte |
boundValid values are BOUND_NARROW, BOUND_EXTENDS, BOUND_SUPER. |
protected java.util.List<oracle.javatools.parser.java.v2.common.SignatureHasType.InnerType> |
innersList of inner classes. |
| Fields inherited from interface oracle.javatools.parser.java.v2.model.JavaHasType |
|---|
EMPTY_ARRAY |
| 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 | |
|---|---|
SignatureHasType(char ch, JavaProvider provider) |
|
SignatureHasType(char ch, java.lang.String name, JavaProvider provider) |
|
| Method Summary | |
|---|---|
int |
getElementKind() |
JavaFile |
getFile() |
int |
getModifiers() |
JavaElement |
getOwner()TODO: Document me! |
JavaType |
getResolvedType()A JavaField instance will return the field's type. |
java.lang.String |
getSimplifiedName()Converts the search string to source format and then attempts to simplify it as much as possible before returning. |
UnresolvedType |
getUnresolvedType()Information about a type that has not been resolved. |
void |
pushInnerType(java.lang.String name) |
void |
pushTypeArgument(SignatureHasType argument) |
java.lang.String |
toString()Converts the search string to source format and returns it. |
| Methods inherited from class oracle.javatools.parser.java.v2.common.AbstractElement |
|---|
clearCompiledInfo, getActualTypeArguments, getAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotations, getSourceElement, getSourceSymbol, getTypeParameters, hasActualTypeArguments, hasTypeParameters, isAbstract, isDeprecated, isFinal, isHidden, isPackagePrivate, isPrivate, isProtected, isPublic, isSourceElement, isStatic, isSynthetic, isTransient, isVarargs, printCompiledInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement |
|---|
getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo |
| Field Detail |
|---|
protected byte bound
protected short array
protected java.util.List<JavaHasType> arguments
protected java.util.List<oracle.javatools.parser.java.v2.common.SignatureHasType.InnerType> inners
| Constructor Detail |
|---|
public SignatureHasType(char ch,
java.lang.String name,
JavaProvider provider)
public SignatureHasType(char ch,
JavaProvider provider)
| Method Detail |
|---|
public void pushTypeArgument(SignatureHasType argument)
public void pushInnerType(java.lang.String name)
public JavaFile getFile()
getFile in interface JavaElementIf a SourceFile is returned, then this element is declared in or otherwise comes in a SourceFile.
A non-null JavaFile may be returned that is not a SourceFile. For example, a JavaClass that came from a .class file definition will return such a JavaFile instance.
If null, then this element was created on-the-fly.
public int getElementKind()
getElementKind in interface JavaElementgetElementKind in class AbstractElementpublic int getModifiers()
getModifiers in interface JavaElementgetModifiers in class AbstractElementpublic JavaElement getOwner()
JavaElementgetOwner in interface JavaElementgetOwner in class AbstractElementpublic JavaType getResolvedType()
JavaHasTypeA JavaMethod instance will return the method's return type.
A JavaVariable instance will return the variable's type.
A JavaType instance will return itself.
getResolvedType in interface JavaHasTypepublic UnresolvedType getUnresolvedType()
JavaHasTypegetUnresolvedType in interface JavaHasTypegetUnresolvedType in class AbstractElementpublic java.lang.String getSimplifiedName()
UnresolvedTypegetSimplifiedName in interface UnresolvedTypepublic java.lang.String toString()
UnresolvedTypetoString in interface UnresolvedTypetoString in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||