net.sourceforge.pmd.cpd.Tokenizerpublic class JavaTokenizer extends java.lang.Object implements net.sourceforge.pmd.cpd.Tokenizer
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CPD_END |
|
static java.lang.String |
CPD_START |
DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_IDENTIFIERS, IGNORE_LITERALS, IGNORE_USINGS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN| Constructor | Description |
|---|---|
JavaTokenizer() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
setIgnoreAnnotations(boolean ignoreAnnotations) |
|
void |
setIgnoreIdentifiers(boolean ignore) |
|
void |
setIgnoreLiterals(boolean ignore) |
|
void |
setProperties(java.util.Properties properties) |
|
void |
tokenize(net.sourceforge.pmd.cpd.SourceCode sourceCode,
net.sourceforge.pmd.cpd.Tokens tokenEntries) |
public static final java.lang.String CPD_START
public static final java.lang.String CPD_END
public void setProperties(java.util.Properties properties)
public void tokenize(net.sourceforge.pmd.cpd.SourceCode sourceCode, net.sourceforge.pmd.cpd.Tokens tokenEntries)
tokenize in interface net.sourceforge.pmd.cpd.Tokenizerpublic void setIgnoreLiterals(boolean ignore)
public void setIgnoreIdentifiers(boolean ignore)
public void setIgnoreAnnotations(boolean ignoreAnnotations)
Copyright © 2002–2018 PMD. All rights reserved.