Class BuildStringPassthruGraph.StringPassthruDatabase

java.lang.Object
edu.umd.cs.findbugs.detect.BuildStringPassthruGraph.StringPassthruDatabase
Enclosing class:
BuildStringPassthruGraph

public static class BuildStringPassthruGraph.StringPassthruDatabase extends Object
  • Constructor Details

    • StringPassthruDatabase

      public StringPassthruDatabase()
  • Method Details

    • findLinkedMethods

      public Map<MethodDescriptor,int[]> findLinkedMethods(Set<BuildStringPassthruGraph.MethodParameter> inputs)
      Returns methods which call directly or indirectly methods from inputs passing the parameter unchanged
      Parameters:
      inputs - input methods with parameter
      Returns:
      Map where keys are methods and values are parameter indexes which can be passed to requested methods unchanged
    • getFileNameStringMethods

      public Map<MethodDescriptor,int[]> getFileNameStringMethods()
      Returns methods which parameter is the file name
      Returns:
      Map where keys are methods and values are parameter indexes which are used as file names