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>
- Direct Known Subclasses:
UnresolvedXMethod
public abstract class AbstractMethod extends AbstractClassMember implements XMethod
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractMethod(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 MethodDescriptorgetMethodDescriptor()intgetNumParams()booleanisBridge()Is this a bridge method?booleanisNative()booleanisSynchronized()XMethodresolveAccessMethodForMethod()java.lang.StringtoString()-
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, markAsResolved
-
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, hasPolymorphicSignature, isAbstract, isAccessMethod, 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:
getNumParamsin interfaceXMethod
-
isSynchronized
public boolean isSynchronized()
- Specified by:
isSynchronizedin interfaceXMethod
-
isBridge
public boolean isBridge()
Description copied from interface:XMethodIs this a bridge method?
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractClassMember
-
getMethodDescriptor
public MethodDescriptor getMethodDescriptor()
- Specified by:
getMethodDescriptorin interfaceXMethod- Returns:
- the MethodDescriptor identifying this object
-
resolveAccessMethodForMethod
public XMethod resolveAccessMethodForMethod()
- Specified by:
resolveAccessMethodForMethodin interfaceXMethod
-
-