use of net.sourceforge.pmd.lang.plsql.ast.PLSQLNode in project pmd by pmd.
the class ScopeAndDeclarationFinder method visit.
@Override
public Object visit(ASTTriggerUnit node, Object data) {
createClassScope(node);
Scope s = ((PLSQLNode) node.jjtGetParent()).getScope();
s.addDeclaration(new ClassNameDeclaration(node));
cont(node);
return data;
}
use of net.sourceforge.pmd.lang.plsql.ast.PLSQLNode in project pmd by pmd.
the class ScopeAndDeclarationFinder method visit.
@Override
public Object visit(ASTTypeSpecification node, Object data) {
createClassScope(node);
Scope s = ((PLSQLNode) node.jjtGetParent()).getScope();
s.addDeclaration(new ClassNameDeclaration(node));
cont(node);
return data;
}
Aggregations