net.sourceforge.pmd.lang.java
Class AbstractJavaParser
java.lang.Object
   net.sourceforge.pmd.lang.AbstractParser
net.sourceforge.pmd.lang.AbstractParser
       net.sourceforge.pmd.lang.java.AbstractJavaParser
net.sourceforge.pmd.lang.java.AbstractJavaParser
- All Implemented Interfaces: 
- Parser
- Direct Known Subclasses: 
- Java13Parser, Java14Parser, Java15Parser, Java16Parser, Java17Parser, Java18Parser
- public abstract class AbstractJavaParser 
- extends AbstractParser
This is a generic Java specific implementation of the Parser interface. It
 creates a JavaParser instance, and sets the exclude marker. It also exposes
 the exclude map from the JavaParser instance.
- See Also:
- AbstractParser,- JavaParser
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AbstractJavaParser
public AbstractJavaParser(ParserOptions parserOptions)
createTokenManager
public TokenManager createTokenManager(Reader source)
- 
- Specified by:
- createTokenManagerin class- AbstractParser
 
- 
 
createJavaParser
protected JavaParser createJavaParser(Reader source)
                               throws ParseException
- Subclass should override this method to modify the JavaParser as needed.
 
- 
- Throws:
- ParseException
 
canParse
public boolean canParse()
- 
 
parse
public Node parse(String fileName,
                  Reader source)
           throws ParseException
- 
- Throws:
- ParseException
 
getSuppressMap
public Map<Integer,String> getSuppressMap()
- 
 
Copyright © 2002-2015 InfoEther. All Rights Reserved.