1. Jan Lahoda
  2. j1-javac-demo

Commits

Jan Lahoda  committed 5debba1

Need to register the RegExpRule.

  • Participants
  • Parent commits b4a4433
  • Branches default

Comments (0)

Files changed (1)

File analysis/src/j1/tutorial/javac/analysis/rules/RegExpRule.java

View file
 import javax.lang.model.element.ExecutableElement;
 import javax.lang.model.element.VariableElement;
 import javax.tools.Diagnostic;
+import org.openide.util.lookup.ServiceProvider;
 
+@ServiceProvider(service=Rule.class)
 public class RegExpRule implements Rule {
 
     @Override