|
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.AbstractElement
oracle.javatools.parser.java.v2.common.AbstractMethod
oracle.javatools.parser.java.v2.common.WrapperMethod
oracle.javatools.parser.java.v2.common.CastedMethod
public class CastedMethod
A "casted method" represents a method invocation followed by a type cast. The method itself is accessible as is its return type. The typecast is available by calling getResolvedType().
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.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 |
Constructor Summary | |
---|---|
protected |
CastedMethod(JavaMethod thing, JavaType resolvedType) |
Method Summary | |
---|---|
JavaType |
getResolvedType() A JavaField instance will return the field's type. |
static CastedMethod |
newInstance(JavaMethod thing, JavaType resolvedType) |
Methods inherited from class oracle.javatools.parser.java.v2.common.WrapperMethod |
---|
getActualTypeArguments, getDeclaredAnnotations, getDefaultValue, getElementKind, getExceptions, getFile, getMethodErasure, getModifiers, getName, getOwner, getOwningClass, getParameters, 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.JavaIsGeneric |
---|
hasActualTypeArguments, hasTypeParameters |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaMember |
---|
isAbstract, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasAnnotations |
---|
getAnnotation, getAnnotations, getDeclaredAnnotation |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement |
---|
isFinal, isSynthetic |
Constructor Detail |
---|
protected CastedMethod(JavaMethod thing, JavaType resolvedType)
Method Detail |
---|
public static CastedMethod newInstance(JavaMethod thing, JavaType resolvedType)
public JavaType getResolvedType()
JavaHasType
A 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 JavaHasType
getResolvedType
in class WrapperMethod
|
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 |