Class AbstractPLSQLRule

    • Constructor Detail

      • AbstractPLSQLRule

        public AbstractPLSQLRule()
    • Method Detail

      • apply

        public void apply​(net.sourceforge.pmd.lang.ast.Node target,
                          net.sourceforge.pmd.reporting.RuleContext ctx)
        Specified by:
        apply in interface net.sourceforge.pmd.lang.rule.Rule
      • visitNode

        public Object visitNode​(net.sourceforge.pmd.lang.ast.Node node,
                                Object param)
        Specified by:
        visitNode in interface net.sourceforge.pmd.lang.ast.AstVisitor<Object,​Object>
      • getDeclaringType

        protected final String getDeclaringType​(net.sourceforge.pmd.lang.ast.Node node)
        Gets the Image of the first parent node of type ASTClassOrInterfaceDeclaration or null
        Parameters:
        node - the node which will be searched
      • isQualifiedName

        public static boolean isQualifiedName​(net.sourceforge.pmd.lang.ast.Node node)
      • importsPackage

        public static boolean importsPackage​(ASTInput node,
                                             String packageName)