Class DeclarationFinderFunction

  • All Implemented Interfaces:
    net.sourceforge.pmd.util.SearchFunction<net.sourceforge.pmd.lang.symboltable.NameDeclaration>

    public class DeclarationFinderFunction
    extends java.lang.Object
    implements net.sourceforge.pmd.util.SearchFunction<net.sourceforge.pmd.lang.symboltable.NameDeclaration>
    • Constructor Summary

      Constructors 
      Constructor Description
      DeclarationFinderFunction​(net.sourceforge.pmd.lang.symboltable.NameOccurrence occurrence)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean applyTo​(net.sourceforge.pmd.lang.symboltable.NameDeclaration nameDeclaration)  
      net.sourceforge.pmd.lang.symboltable.NameDeclaration getDecl()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeclarationFinderFunction

        public DeclarationFinderFunction​(net.sourceforge.pmd.lang.symboltable.NameOccurrence occurrence)
    • Method Detail

      • applyTo

        public boolean applyTo​(net.sourceforge.pmd.lang.symboltable.NameDeclaration nameDeclaration)
        Specified by:
        applyTo in interface net.sourceforge.pmd.util.SearchFunction<net.sourceforge.pmd.lang.symboltable.NameDeclaration>
      • getDecl

        public net.sourceforge.pmd.lang.symboltable.NameDeclaration getDecl()