Package net.sourceforge.pmd.lang
Interface LanguageVersionHandler
-
- All Known Implementing Classes:
AbstractLanguageVersionHandler
public interface LanguageVersionHandler
Interface 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 VisitorStarter
getDataFlowFacade()
Get the DataFlowFacade.DataFlowHandler
getDataFlowHandler()
Get the DataFlowHandler.ParserOptions
getDefaultParserOptions()
Get the default ParserOptions.DFAGraphRule
getDFAGraphRule()
VisitorStarter
getDumpFacade(java.io.Writer writer, java.lang.String prefix, boolean recurse)
Get the DumpFacade.VisitorStarter
getMultifileFacade()
Gets the visitor that performs multifile data gathering.Parser
getParser(ParserOptions parserOptions)
Get the Parser.VisitorStarter
getQualifiedNameResolutionFacade(java.lang.ClassLoader classLoader)
Gets the visitor that populates the qualified names of the nodes.RuleViolationFactory
getRuleViolationFactory()
Get the RuleViolationFactory.VisitorStarter
getSymbolFacade()
Get the SymbolFacade.VisitorStarter
getSymbolFacade(java.lang.ClassLoader classLoader)
Get the SymbolFacade.VisitorStarter
getTypeResolutionFacade(java.lang.ClassLoader classLoader)
Get the TypeResolutionFacade.XPathHandler
getXPathHandler()
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()
-
-