Class ImageFinderFunction
- java.lang.Object
-
- net.sourceforge.pmd.lang.symboltable.ImageFinderFunction
-
- All Implemented Interfaces:
SearchFunction<NameDeclaration>
public class ImageFinderFunction extends Object implements SearchFunction<NameDeclaration>
-
-
Constructor Summary
Constructors Constructor Description ImageFinderFunction(String img)
ImageFinderFunction(List<String> imageList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applyTo(NameDeclaration nameDeclaration)
Applies the search function over a single element.NameDeclaration
getDecl()
-
-
-
Method Detail
-
applyTo
public boolean applyTo(NameDeclaration nameDeclaration)
Description copied from interface:SearchFunction
Applies the search function over a single element.- Specified by:
applyTo
in interfaceSearchFunction<NameDeclaration>
- Parameters:
nameDeclaration
- The element to analyze.- Returns:
- True if the search should continue, false otherwhise.
-
getDecl
public NameDeclaration getDecl()
-
-