File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java | File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java | |||
Method name:
|
Method name:
|
|||
Number of AST nodes: 0 | Number of AST nodes: 0 | |||
1 | public void setName(String name) {↵ | 1 | public void setName(String name) {↵ | |
2 | if (!isValidName(name)) {↵ | 2 | if (!isValidName(name)) {↵ | |
3 | throw new BuildException(↵ | 3 | throw new BuildException(↵ | |
4 | "Illegal name [" + name + "] for attribute");↵ | 4 | "Illegal name [" + name + "] for attribute");↵ | |
5 | }↵ | 5 | }↵ | |
6 | this.name = name.toLowerCase(Locale.US);↵ | 6 | this.name = name.toLowerCase(Locale.US);↵ | |
7 | }↵ | 7 | }↵ | |
8 | /**↵ | 8 | /**↵ | |
9 | * @return the name of the attribute↵ | 9 | * @return the name of the attribute↵ | |
10 | */↵ | 10 | */↵ | |
11 | public String getName() {↵ | 11 | public String getName() {↵ | |
12 | return name | 12 |
| |
See real code fragment | See real code fragment |
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 |