|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMethod
An XMethod represents symbolic information about a particular method.
If the resolved() method returns true, then any information queried from this object can be assumed to be accurate. If the resolved() method returns false, then FindBugs can't find the method and any information other than name/signature/etc. cannot be trusted.
Method Summary | |
---|---|
AnnotationValue |
getAnnotation(ClassDescriptor desc)
Get the AnnotationValue of annotation applied directly to the method. |
java.util.Collection<ClassDescriptor> |
getAnnotationDescriptors()
Get ClassDescriptors (annotation classes) of annotations applied directly to this method. |
java.util.Collection<AnnotationValue> |
getAnnotations()
Get collection of all AnnotationValues applied directly to the method. |
java.lang.String |
getBridgeSignature()
|
MethodDescriptor |
getMethodDescriptor()
|
int |
getNumParams()
|
AnnotationValue |
getParameterAnnotation(int param,
ClassDescriptor desc)
Get the AnnotationValue of annotation applied directly to given parameter. |
java.util.Collection<ClassDescriptor> |
getParameterAnnotationDescriptors(int param)
Get ClassDescriptors (annotation classes) of annotations applied directly to this method's parameters. |
java.util.Collection<AnnotationValue> |
getParameterAnnotations(int param)
Get collection of all AnnotationValues applied directly to given parameter. |
java.lang.String[] |
getThrownExceptions()
|
boolean |
isAbstract()
|
boolean |
isBridged()
|
boolean |
isNative()
|
boolean |
isReturnTypeReferenceType()
|
boolean |
isStub()
|
boolean |
isSynchronized()
|
boolean |
isUnconditionalThrower()
|
boolean |
isUnsupported()
|
boolean |
isVarArgs()
|
boolean |
usesConcurrency()
|
Methods inherited from interface edu.umd.cs.findbugs.ba.ClassMember |
---|
getClassName, getName, getPackageName, getSignature, getSourceSignature, isResolved |
Methods inherited from interface edu.umd.cs.findbugs.ba.AccessibleEntity |
---|
getAccessFlags, getClassDescriptor, isDeprecated, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynthetic |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface edu.umd.cs.findbugs.classfile.FieldOrMethodName |
---|
getClassDescriptor, isStatic |
Methods inherited from interface edu.umd.cs.findbugs.classfile.analysis.AnnotatedObject |
---|
getClassDescriptor, getContainingScope, getElementType, isSynthetic |
Method Detail |
---|
boolean isNative()
boolean isAbstract()
boolean isSynchronized()
int getNumParams()
MethodDescriptor getMethodDescriptor()
java.lang.String[] getThrownExceptions()
boolean isUnconditionalThrower()
boolean usesConcurrency()
boolean isStub()
boolean isBridged()
java.lang.String getBridgeSignature()
boolean isUnsupported()
boolean isVarArgs()
boolean isReturnTypeReferenceType()
java.util.Collection<ClassDescriptor> getParameterAnnotationDescriptors(int param)
param
- parameter number (0 for first parameter)
@CheckForNull AnnotationValue getParameterAnnotation(int param, ClassDescriptor desc)
param
- parameter number (0 for first parameter)desc
- ClassDescriptor of the annotation class
java.util.Collection<AnnotationValue> getParameterAnnotations(int param)
param
- parameter number (0 for first parameter)
java.util.Collection<ClassDescriptor> getAnnotationDescriptors()
getAnnotationDescriptors
in interface AnnotatedObject
AnnotationValue getAnnotation(ClassDescriptor desc)
getAnnotation
in interface AnnotatedObject
desc
- ClassDescriptor of the annotation class
java.util.Collection<AnnotationValue> getAnnotations()
getAnnotations
in interface AnnotatedObject
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |