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 booleanapplyTo(NameDeclaration nameDeclaration)Applies the search function over a single element.NameDeclarationgetDecl()
-
-
-
Method Detail
-
applyTo
public boolean applyTo(NameDeclaration nameDeclaration)
Description copied from interface:SearchFunctionApplies the search function over a single element.- Specified by:
applyToin interfaceSearchFunction<NameDeclaration>- Parameters:
nameDeclaration- The element to analyze.- Returns:
- True if the search should continue, false otherwise.
-
getDecl
public NameDeclaration getDecl()
-
-