View Javadoc
1   package net.sourceforge.pmd.lang.plsql;
2   
3   import net.sourceforge.pmd.lang.BaseLanguageModule;
4   import net.sourceforge.pmd.lang.plsql.rule.PLSQLRuleChainVisitor;
5   
6   /**
7    * Created by christoferdutz on 20.09.14.
8    */
9   public class PLSQLLanguageModule extends BaseLanguageModule {
10  
11      public static final String NAME = "PLSQL";
12      public static final String TERSE_NAME = "plsql";
13  
14      public PLSQLLanguageModule() {
15          super(NAME, null, TERSE_NAME, PLSQLRuleChainVisitor.class,
16                  "sql", "trg",
17                  "prc", "fnc",
18                  "pld", // Oracle*Forms
19                  "pls" ,"plh" ,"plb", // Packages
20                  "pck" ,"pks" ,"pkh" ,"pkb", // Packages
21                  "typ" ,"tyb", // Object Types
22                  "tps" ,"tpb" /* Object Types*/);
23          addVersion("", new PLSQLHandler(), true);
24      }
25  
26  }