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 |
protected |
AbstractMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
java.lang.String bridgeMethodSig,
int accessFlags)
|
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.XMethod |
getAnnotation, getAnnotationDescriptors, getAnnotations, getParameterAnnotation, getParameterAnnotationDescriptors, getParameterAnnotations, getThrownExceptions, isAbstract, isReturnTypeReferenceType, isStub, isUnconditionalThrower, isUnsupported, isVarArgs, usesConcurrency |
Methods inherited from interface java.lang.Comparable |
compareTo |
AbstractMethod
protected AbstractMethod(@DottedClassName
java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
@CheckForNull
java.lang.String bridgeMethodSig,
int accessFlags)
getNumParams
public int getNumParams()
- Specified by:
getNumParams
in interface XMethod
isNative
public boolean isNative()
- Specified by:
isNative
in interface XMethod
isSynchronized
public boolean isSynchronized()
- Specified by:
isSynchronized
in interface XMethod
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractClassMember
getMethodDescriptor
public MethodDescriptor getMethodDescriptor()
- Specified by:
getMethodDescriptor
in interface XMethod
- Returns:
- the MethodDescriptor identifying this object
isBridged
public final boolean isBridged()
- Specified by:
isBridged
in interface XMethod
- Returns:
- whether the method is a bridge method
getBridgeSignature
public final java.lang.String getBridgeSignature()
- Specified by:
getBridgeSignature
in interface XMethod
- Returns:
- the signature for the bridge method
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.