View Javadoc
1 /*** 2 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html 3 */ 4 package net.sourceforge.pmd.symboltable; 5 6 import net.sourceforge.pmd.ast.ASTCompilationUnit; 7 import net.sourceforge.pmd.ast.SimpleNode; 8 9 public class GlobalScopeEvaluator extends AbstractScopeEvaluator { 10 public GlobalScopeEvaluator() { 11 triggers.add(ASTCompilationUnit.class); 12 } 13 public Scope getScopeFor(SimpleNode node) { 14 return new GlobalScope(); 15 } 16 } 17

This page was automatically generated by Maven