Class AbstractDeclarationCollector

    • Method Detail

      • beginTree

        public void beginTree​(DetailAST rootAST)
        Deprecated.
        Description copied from class: AbstractCheck
        Called before the starting to process a tree. Ideal place to initialize information that is to be collected whilst processing a tree.
        Overrides:
        beginTree in class AbstractCheck
        Parameters:
        rootAST - the root of the tree
      • isClassField

        protected final boolean isClassField​(String name)
        Deprecated.
        Check if given name is a name for class field in current environment.
        Parameters:
        name - a name to check
        Returns:
        true is the given name is name of member.
      • isClassMethod

        protected final boolean isClassMethod​(String name)
        Deprecated.
        Check if given name is a name for class method in current environment.
        Parameters:
        name - a name to check
        Returns:
        true is the given name is name of method.