Class JavaCpdLexer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.impl.CpdLexerBase<JavaccToken>
-
- net.sourceforge.pmd.cpd.impl.JavaccCpdLexer
-
- net.sourceforge.pmd.lang.java.cpd.JavaCpdLexer
-
- All Implemented Interfaces:
CpdLexer
public class JavaCpdLexer extends JavaccCpdLexer
Note: This class has been called JavaTokenizer in PMD 6
.
-
-
Constructor Summary
Constructors Constructor Description JavaCpdLexer(net.sourceforge.pmd.lang.java.internal.JavaLanguageProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TokenManager<JavaccToken>
filterTokenStream(TokenManager<JavaccToken> tokenManager)
protected TokenManager<JavaccToken>
makeLexerImpl(TextDocument doc)
protected void
processToken(TokenFactory tokenEntries, JavaccToken javaToken)
-
Methods inherited from class net.sourceforge.pmd.cpd.impl.CpdLexerBase
getImage, tokenize
-
-
-
-
Method Detail
-
makeLexerImpl
protected TokenManager<JavaccToken> makeLexerImpl(TextDocument doc)
- Specified by:
makeLexerImpl
in classCpdLexerBase<JavaccToken>
-
filterTokenStream
protected TokenManager<JavaccToken> filterTokenStream(TokenManager<JavaccToken> tokenManager)
- Overrides:
filterTokenStream
in classCpdLexerBase<JavaccToken>
-
processToken
protected void processToken(TokenFactory tokenEntries, JavaccToken javaToken)
- Overrides:
processToken
in classCpdLexerBase<JavaccToken>
-
-