Package edu.umd.cs.findbugs.classfile
Class MethodDescriptor
- java.lang.Object
-
- edu.umd.cs.findbugs.classfile.FieldOrMethodDescriptor
-
- 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
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBridgeSignature()booleanisBridged()-
Methods inherited from class edu.umd.cs.findbugs.classfile.FieldOrMethodDescriptor
compareTo, compareTo, equals, getClassDescriptor, getName, getNameSigHashCode, getNameSigHashCode, getSignature, getSlashedClassName, hashCode, isStatic, toString
-
-
-
-
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 methodmethodSignature- signature of the methodisStatic- 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.Constructor.- Parameters:
className- name of the class containing the method, in VM format (e.g., "java/lang/String")methodName- name of the methodmethodSignature- signature of the methodbridgeMethodSignature- the bridge method signature or nullisStatic- true if method is static, false otherwiseisBridged- 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 methodmethodSignature- signature of the methodbridgeMethodSignature- the bridge method signature or nullisStatic- true if method is static, false otherwise
-
-