|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
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.AbstractMethod oracle.javatools.parser.java.v2.common.WrapperMethod oracle.javatools.parser.java.v2.common.QuickComponent
public class QuickComponent
A QuickComponent is a special type of JavaVariable that refers to an annotation member (method!). It has to be a JavaVariable because it's assignable and it has to be a JavaMember because it needs to be able to goto its own class. The only thing that matches that description is a JavaField.
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.WrapperMethod |
---|
thing |
Fields inherited from interface oracle.javatools.parser.java.v2.model.JavaVariable |
---|
EMPTY_ARRAY |
Fields inherited from interface oracle.javatools.parser.java.v2.model.JavaMethod |
---|
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 |
Method Summary | |
---|---|
static QuickComponent |
createComponent(JavaMethod method)
Creates an annotation component without an assigned value. |
static QuickComponent |
createComponent(JavaMethod method,
java.lang.Object value)
Creates an annotation component with the given assigned value. |
java.lang.Object |
getConstantValue()
TODO: What about static final fields of enum type? |
int |
getElementKind()
|
JavaMethod |
getMethod()
|
JavaElement |
getOwner()
TODO: Document me! |
void |
setOwner(JavaElement owner)
|
void |
setValue(java.lang.Object value)
|
Methods inherited from class oracle.javatools.parser.java.v2.common.WrapperMethod |
---|
getActualTypeArguments, getDeclaredAnnotations, getDefaultValue, getExceptions, getFile, getMethodErasure, getModifiers, getName, getOwningClass, getParameters, getResolvedType, getReturnType, getSourceElement, getTypeParameters, getUnresolvedType, isConstructor, isDeprecated, isHidden, isSourceElement, isVarargs |
Methods inherited from class oracle.javatools.parser.java.v2.common.AbstractMethod |
---|
clearCompiledInfo, equals, getDescriptor, getOverriddenMethods, getParameterTypes, getSignature, getTypeParameter, getTypeSignature, getUniqueIdentifier, hashCode, hasSubsignatureOf, isNative, printCompiledInfo |
Methods inherited from class oracle.javatools.parser.java.v2.common.AbstractElement |
---|
getAnnotation, getAnnotations, getDeclaredAnnotation, getSourceSymbol, hasActualTypeArguments, hasTypeParameters, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isSynthetic, isTransient |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaVariable |
---|
isVarargs |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasType |
---|
getResolvedType, getUnresolvedType |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasName |
---|
getName |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasAnnotations |
---|
getAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotations |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement |
---|
getFile, getModifiers, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaIsGeneric |
---|
hasActualTypeArguments, hasTypeParameters |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaMember |
---|
isAbstract, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic |
Method Detail |
---|
public static QuickComponent createComponent(JavaMethod method)
public static QuickComponent createComponent(JavaMethod method, java.lang.Object value)
public JavaMethod getMethod()
public int getElementKind()
getElementKind
in interface JavaElement
getElementKind
in class WrapperMethod
public void setValue(java.lang.Object value)
public java.lang.Object getConstantValue()
JavaVariable
getConstantValue
in interface JavaVariable
public JavaElement getOwner()
JavaElement
getOwner
in interface JavaElement
getOwner
in class WrapperMethod
public void setOwner(JavaElement owner)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |