@FunctionalInterface
public interface IPotentialResourceNameHandler
Modifier and Type | Method and Description |
---|---|
boolean |
process(ClassInformation classInfo,
java.lang.String sourceIndicator,
java.lang.String string)
Processes the given potential resource name string of the specified class info.
|
boolean process(ClassInformation classInfo, java.lang.String sourceIndicator, java.lang.String string)
The sourceIndicator provides some information about where the string has been found.
This could be for example a method that has been called with that string.
The receiver can use this information for better interpretation of the string.
Examples: "ResourceBundle#getBundle(String,Locale)"
classInfo
- The class that contains the string.sourceIndicator
- An indicator about where or how the string has been found in the class.string
- The string that might refer to a resource.