Package net.sourceforge.pmd.lang
Interface LanguageVersionHandler
-
- All Known Implementing Classes:
AbstractLanguageVersionHandler
public interface LanguageVersionHandlerInterface for obtaining the classes necessary for checking source files of a specific language.- Author:
- pieter_van_raemdonck - Application Engineers NV/SA - www.ae.be
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VisitorStartergetDataFlowFacade()Get the DataFlowFacade.DataFlowHandlergetDataFlowHandler()Get the DataFlowHandler.ParserOptionsgetDefaultParserOptions()Get the default ParserOptions.DFAGraphRulegetDFAGraphRule()VisitorStartergetDumpFacade(java.io.Writer writer, java.lang.String prefix, boolean recurse)Get the DumpFacade.VisitorStartergetMultifileFacade()Gets the visitor that performs multifile data gathering.ParsergetParser(ParserOptions parserOptions)Get the Parser.VisitorStartergetQualifiedNameResolutionFacade(java.lang.ClassLoader classLoader)Gets the visitor that populates the qualified names of the nodes.RuleViolationFactorygetRuleViolationFactory()Get the RuleViolationFactory.VisitorStartergetSymbolFacade()Get the SymbolFacade.VisitorStartergetSymbolFacade(java.lang.ClassLoader classLoader)Get the SymbolFacade.VisitorStartergetTypeResolutionFacade(java.lang.ClassLoader classLoader)Get the TypeResolutionFacade.XPathHandlergetXPathHandler()Get the XPathHandler.
-
-
-
Method Detail
-
getDataFlowHandler
DataFlowHandler getDataFlowHandler()
Get the DataFlowHandler.
-
getXPathHandler
XPathHandler getXPathHandler()
Get the XPathHandler.
-
getRuleViolationFactory
RuleViolationFactory getRuleViolationFactory()
Get the RuleViolationFactory.
-
getDefaultParserOptions
ParserOptions getDefaultParserOptions()
Get the default ParserOptions.- Returns:
- ParserOptions
-
getParser
Parser getParser(ParserOptions parserOptions)
Get the Parser.- Returns:
- Parser
-
getDataFlowFacade
VisitorStarter getDataFlowFacade()
Get the DataFlowFacade.- Returns:
- VisitorStarter
-
getSymbolFacade
VisitorStarter getSymbolFacade()
Get the SymbolFacade.- Returns:
- VisitorStarter
-
getSymbolFacade
VisitorStarter getSymbolFacade(java.lang.ClassLoader classLoader)
Get the SymbolFacade.- Parameters:
classLoader- A ClassLoader to use for resolving Types.- Returns:
- VisitorStarter
-
getTypeResolutionFacade
VisitorStarter getTypeResolutionFacade(java.lang.ClassLoader classLoader)
Get the TypeResolutionFacade.- Parameters:
classLoader- A ClassLoader to use for resolving Types.- Returns:
- VisitorStarter
-
getDumpFacade
VisitorStarter getDumpFacade(java.io.Writer writer, java.lang.String prefix, boolean recurse)
Get the DumpFacade.- Parameters:
writer- The writer to dump to.- Returns:
- VisitorStarter
-
getMultifileFacade
VisitorStarter getMultifileFacade()
Gets the visitor that performs multifile data gathering.- Returns:
- The visitor starter
-
getQualifiedNameResolutionFacade
VisitorStarter getQualifiedNameResolutionFacade(java.lang.ClassLoader classLoader)
Gets the visitor that populates the qualified names of the nodes.- Parameters:
classLoader- The classloader to use to resolve the types of type qualified names- Returns:
- The visitor starter
-
getDFAGraphRule
DFAGraphRule getDFAGraphRule()
-
-