Package edu.umd.cs.findbugs.ba
Class AbstractMethod
- java.lang.Object
-
- edu.umd.cs.findbugs.ba.AbstractClassMember
-
- edu.umd.cs.findbugs.ba.AbstractMethod
-
- All Implemented Interfaces:
AccessibleEntity
,ClassMember
,ComparableMethod
,XMethod
,AnnotatedObject
,FieldOrMethodName
,java.io.Serializable
,java.lang.Comparable<ComparableMethod>
public abstract class AbstractMethod extends AbstractClassMember implements XMethod
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, int accessFlags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodDescriptor
getMethodDescriptor()
int
getNumParams()
boolean
isBridge()
Is this a bridge method?boolean
isNative()
boolean
isSynchronized()
XMethod
resolveAccessMethodForMethod()
java.lang.String
toString()
-
Methods inherited from class edu.umd.cs.findbugs.ba.AbstractClassMember
equals, getAccessFlags, getClassDescriptor, getClassName, getName, getPackageName, getSignature, hashCode, isFinal, isPrivate, isProtected, isPublic, isReferenceType, isResolved, isStatic
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface edu.umd.cs.findbugs.ba.AccessibleEntity
getAccessFlags, getClassDescriptor, isDeprecated, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynthetic
-
Methods inherited from interface edu.umd.cs.findbugs.classfile.analysis.AnnotatedObject
getClassDescriptor, getContainingScope, getElementType, isSynthetic
-
Methods inherited from interface edu.umd.cs.findbugs.ba.ClassMember
getClassName, getName, getPackageName, getSignature, getSourceSignature, isResolved
-
Methods inherited from interface edu.umd.cs.findbugs.classfile.FieldOrMethodName
getClassDescriptor, isStatic
-
Methods inherited from interface edu.umd.cs.findbugs.ba.XMethod
addAnnotation, addParameterAnnotation, bridgeFrom, bridgeTo, getAccessMethodForField, getAccessMethodForMethod, getAnnotation, getAnnotationDescriptors, getAnnotations, getParameterAnnotation, getParameterAnnotationDescriptors, getParameterAnnotations, getThrownExceptions, hasParameterAnnotations, isAbstract, isIdentity, isReturnTypeReferenceType, isStub, isUnconditionalThrower, isUnsupported, isVarArgs, isVariableSynthetic, usesConcurrency, usesInvokeDynamic
-
-
-
-
Constructor Detail
-
AbstractMethod
protected AbstractMethod(@DottedClassName java.lang.String className, java.lang.String methodName, java.lang.String methodSig, int accessFlags)
-
-
Method Detail
-
getNumParams
public int getNumParams()
- Specified by:
getNumParams
in interfaceXMethod
-
isSynchronized
public boolean isSynchronized()
- Specified by:
isSynchronized
in interfaceXMethod
-
isBridge
public boolean isBridge()
Description copied from interface:XMethod
Is this a bridge method?
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractClassMember
-
getMethodDescriptor
public MethodDescriptor getMethodDescriptor()
- Specified by:
getMethodDescriptor
in interfaceXMethod
- Returns:
- the MethodDescriptor identifying this object
-
resolveAccessMethodForMethod
public XMethod resolveAccessMethodForMethod()
- Specified by:
resolveAccessMethodForMethod
in interfaceXMethod
-
-