Class MethodDescriptor

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

public class MethodDescriptor extends FieldOrMethodDescriptor implements ComparableMethod
Descriptor uniquely identifying a method in a class.
Author:
David Hovemeyer
  • Constructor Details

    • MethodDescriptor

      public MethodDescriptor(@SlashedClassName String className, String methodName, 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 String className, String methodName, String methodSignature)
    • MethodDescriptor

      public MethodDescriptor(org.apache.bcel.generic.InvokeInstruction iins, org.apache.bcel.generic.ConstantPoolGen cpg)
  • Method Details