Package edu.umd.cs.findbugs.detect
Class BuildStringPassthruGraph.StringPassthruDatabase
java.lang.Object
edu.umd.cs.findbugs.detect.BuildStringPassthruGraph.StringPassthruDatabase
- Enclosing class:
- BuildStringPassthruGraph
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMap<MethodDescriptor,
int[]> Returns methods which call directly or indirectly methods from inputs passing the parameter unchangedMap<MethodDescriptor,
int[]> Returns methods which parameter is the file name
-
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
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
-