FindBugs™ 1.3.9

edu.umd.cs.findbugs.classfile
Class MethodDescriptor

java.lang.Object
  extended by edu.umd.cs.findbugs.classfile.FieldOrMethodDescriptor
      extended by edu.umd.cs.findbugs.classfile.MethodDescriptor
All Implemented Interfaces:
FieldOrMethodName, java.lang.Comparable
Direct Known Subclasses:
MethodInfo

public class MethodDescriptor
extends FieldOrMethodDescriptor

Descriptor uniquely identifying a method in a class.

Author:
David Hovemeyer

Constructor Summary
MethodDescriptor(java.lang.String className, java.lang.String methodName, java.lang.String methodSignature, boolean isStatic)
          Constructor.
MethodDescriptor(java.lang.String className, java.lang.String methodName, java.lang.String methodSignature, java.lang.String bridgeMethodSignature, boolean isStatic)
          Constructor.
MethodDescriptor(java.lang.String className, java.lang.String methodName, java.lang.String methodSignature, java.lang.String bridgeMethodSignature, boolean isStatic, boolean isBridged)
          Deprecated. Use MethodDescriptor(String,String,String,String,boolean) instead
 
Method Summary
 java.lang.String getBridgeSignature()
           
 boolean isBridged()
           
 
Methods inherited from class edu.umd.cs.findbugs.classfile.FieldOrMethodDescriptor
compareTo, compareTo, equals, getClassDescriptor, getName, getNameSigHashCode, getNameSigHashCode, getSignature, getSlashedClassName, hashCode, isStatic, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodDescriptor

public MethodDescriptor(@SlashedClassName
                        java.lang.String className,
                        java.lang.String methodName,
                        java.lang.String methodSignature,
                        boolean isStatic)
Constructor.

Parameters:
className - name of the class containing the method, in VM format (e.g., "java/lang/String")
methodName - name of the method
methodSignature - signature of the method
isStatic - true if method is static, false otherwise

MethodDescriptor

public MethodDescriptor(@SlashedClassName
                        java.lang.String className,
                        java.lang.String methodName,
                        java.lang.String methodSignature,
                        @CheckForNull
                        java.lang.String bridgeMethodSignature,
                        boolean isStatic,
                        boolean isBridged)
Deprecated. Use MethodDescriptor(String,String,String,String,boolean) instead

Constructor.

Parameters:
className - name of the class containing the method, in VM format (e.g., "java/lang/String")
methodName - name of the method
methodSignature - signature of the method
bridgeMethodSignature - the bridge method signature or null
isStatic - true if method is static, false otherwise
isBridged - true if method is bridged, false otherwise

MethodDescriptor

public MethodDescriptor(@SlashedClassName
                        java.lang.String className,
                        java.lang.String methodName,
                        java.lang.String methodSignature,
                        @CheckForNull
                        java.lang.String bridgeMethodSignature,
                        boolean isStatic)
Constructor.

Parameters:
className - name of the class containing the method, in VM format (e.g., "java/lang/String")
methodName - name of the method
methodSignature - signature of the method
bridgeMethodSignature - the bridge method signature or null
isStatic - true if method is static, false otherwise
Method Detail

isBridged

public final boolean isBridged()

getBridgeSignature

public final java.lang.String getBridgeSignature()

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.