public void setStatic(boolean staticParser) {
optionalAttrs.put(STATIC, staticParser ? Boolean.TRUE : Boolean.FALSE);
}
/**
* Sets the DEBUG_PARSER grammar option.
* @param debugParser a <code>boolean</code> value.
*/
public void setDebugparser(boolean debugParser) {
optionalAttrs.put(DEBUG_PARSER, debugParser ? Boolean.TRUE : Boolean.FALSE);
public void setStatic(boolean staticParser) {
optionalAttrs.put(STATIC, staticParser ? Boolean.TRUE : Boolean.FALSE);
}
/**
* Sets the VISITOR grammar option.
* @param visitor a <code>boolean</code> value.
*/
public void setVisitor(boolean visitor) {
optionalAttrs.put(VISITOR, visitor ? Boolean.TRUE : Boolean.FALSE);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JavaCC.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JJTree.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void setStatic(boolean staticParser) {↵ | | 1 | public void setStatic(boolean staticParser) {↵
|
2 | optionalAttrs.put(STATIC, staticParser ? Boolean.TRUE : Boolean.FALSE);↵ | | 2 | optionalAttrs.put(STATIC, staticParser ? Boolean.TRUE : Boolean.FALSE);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Sets the DEBUG_PARSER grammar option.↵ | | 5 | * Sets the VISITOR grammar option.↵
|
6 | * @param debugParser a <code>boolean</code> value.↵ | | 6 | * @param visitor a <code>boolean</code> value.↵
|
7 | */↵ | | 7 | */↵
|
8 | public void setDebugparser(boolean debugParser) {↵ | | 8 | public void setVisitor(boolean visitor) {↵
|
9 | optionalAttrs.put(DEBUG_PARSER, debugParser ? Boolean.TRUE : Boolean.FALSE); | | 9 | optionalAttrs.put(VISITOR, visitor ? Boolean.TRUE : Boolean.FALSE);
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |