1
2
3
4 package net.sourceforge.pmd.lang;
5
6 import java.io.Writer;
7
8 import net.sourceforge.pmd.lang.dfa.DFAGraphRule;
9 import net.sourceforge.pmd.lang.rule.RuleViolationFactory;
10
11
12
13
14
15
16
17 public interface LanguageVersionHandler {
18
19
20
21
22 DataFlowHandler getDataFlowHandler();
23
24
25
26
27 XPathHandler getXPathHandler();
28
29
30
31
32 RuleViolationFactory getRuleViolationFactory();
33
34
35
36
37
38 ParserOptions getDefaultParserOptions();
39
40
41
42
43
44
45 Parser getParser(ParserOptions parserOptions);
46
47
48
49
50
51
52 VisitorStarter getDataFlowFacade();
53
54
55
56
57
58
59 VisitorStarter getSymbolFacade();
60
61
62
63
64
65
66 VisitorStarter getSymbolFacade(ClassLoader classLoader);
67
68
69
70
71
72
73
74 VisitorStarter getTypeResolutionFacade(ClassLoader classLoader);
75
76
77
78
79
80
81
82 VisitorStarter getDumpFacade(Writer writer, String prefix, boolean recurse);
83
84 DFAGraphRule getDFAGraphRule();
85 }