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
,XMethod
,AnnotatedObject
,FieldOrMethodName
,java.io.Serializable
,java.lang.Comparable
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, java.lang.String bridgeMethodSig, int accessFlags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBridgeSignature()
MethodDescriptor
getMethodDescriptor()
int
getNumParams()
boolean
isBridged()
boolean
isNative()
boolean
isSynchronized()
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
getAnnotation, getAnnotationDescriptors, getAnnotations, getParameterAnnotation, getParameterAnnotationDescriptors, getParameterAnnotations, getThrownExceptions, isAbstract, isReturnTypeReferenceType, isStub, isUnconditionalThrower, isUnsupported, isVarArgs, usesConcurrency
-
-
-
-
Constructor Detail
-
AbstractMethod
protected AbstractMethod(@DottedClassName java.lang.String className, java.lang.String methodName, java.lang.String methodSig, @CheckForNull java.lang.String bridgeMethodSig, int accessFlags)
-
-
Method Detail
-
getNumParams
public int getNumParams()
- Specified by:
getNumParams
in interfaceXMethod
-
isSynchronized
public boolean isSynchronized()
- Specified by:
isSynchronized
in interfaceXMethod
-
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
-
isBridged
public final boolean isBridged()
-
getBridgeSignature
public final java.lang.String getBridgeSignature()
- Specified by:
getBridgeSignature
in interfaceXMethod
- Returns:
- the signature for the bridge method
-
-