|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaMethod
The JavaMethod is the compiled representation of a java method or constructor, including the implicit <clinit> method. If you want the syntactic (aka symbolic) representation of a java class, see JavaMethod.
Field Summary | |
---|---|
static JavaMethod[] |
EMPTY_ARRAY
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
getDefaultValue()
|
java.lang.String |
getDescriptor()
Important: This is not the same as getReturnType().getDescriptor() which is synonymous with getReturnType().getDescriptor(). |
java.util.Collection |
getExceptions()
|
JavaMethod |
getMethodErasure()
Gets the erasure for this method. |
java.util.Collection |
getOverriddenMethods()
According to the JLS, implementing methods are overriding methods where the overriden method is abstract. |
java.util.Collection |
getParameters()
|
JavaType[] |
getParameterTypes()
|
JavaType |
getReturnType()
All constructors have a return type of "void". |
java.lang.String |
getSignature()
Important: This is not the same as getReturnType().getSignature() which is synonymous with getReturnType().getSignature(). |
java.lang.String |
getTypeSignature()
Not a JVMS term. |
boolean |
hasSubsignatureOf(JavaMethod other)
True if this method's signature is a subsignature of the other method's signature. |
boolean |
isConstructor()
|
boolean |
isNative()
|
boolean |
isVarargs()
|
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaIsGeneric |
---|
getActualTypeArguments, getTypeParameter, getTypeParameters, hasActualTypeArguments, hasTypeParameters |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaMember |
---|
getOwningClass, getUniqueIdentifier, isAbstract, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic |
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 |
---|
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo |
Field Detail |
---|
static final JavaMethod[] EMPTY_ARRAY
Method Detail |
---|
boolean isConstructor()
boolean isVarargs()
boolean isNative()
JavaMethod getMethodErasure()
JavaType getReturnType()
java.util.Collection getParameters()
JavaType[] getParameterTypes()
java.util.Collection getExceptions()
java.lang.Object getDefaultValue()
JavaVariable.getConstantValue()
java.lang.String getDescriptor()
java.lang.String getTypeSignature()
java.lang.String getSignature()
boolean hasSubsignatureOf(JavaMethod other)
java.util.Collection getOverriddenMethods()
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |