Class MethodAnalysis

java.lang.Object
edu.umd.cs.findbugs.util.MethodAnalysis

public final class MethodAnalysis extends Object
Utility class for method analysis.
  • Method Details

    • isDuplicatedLocation

      public static boolean isDuplicatedLocation(MethodDescriptor methodDescriptor, int pc) throws CheckedAnalysisException
      Check if the location is duplicated in the method. Locations in finally blocks will be duplicated in the bytecode level.
      Returns:
      true if the location is duplicated in the method, false otherwise
      Throws:
      CheckedAnalysisException - if an error occurs during the analysis