File tree 1 file changed +3
-3
lines changed
src/main/java/spoon/reflect/path/impl
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public <T extends CtElement> List<T> evaluateOn(CtElement... startNode) {
42
42
43
43
@ Override
44
44
public CtElement evaluateOnShadowModel () {
45
- List <String > cls_name_list = new LinkedList <>();
45
+ List <String > classRoleNameList = new LinkedList <>();
46
46
CtType <?> ctType = null ;
47
47
for (CtPathElement element : elements ) {
48
48
if (element instanceof CtRolePathElement ) { // search by CtRolePathElement
@@ -54,9 +54,9 @@ public CtElement evaluateOnShadowModel() {
54
54
if (val != null ) {
55
55
if (CtRole .SUB_PACKAGE .equals (((CtRolePathElement ) element ).getRole ())
56
56
|| CtRole .CONTAINED_TYPE .equals (((CtRolePathElement ) element ).getRole ())) {
57
- cls_name_list .add (val );
57
+ classRoleNameList .add (val );
58
58
}
59
- Class <?> cls = getJdkClass (String .join ("." , cls_name_list ));
59
+ Class <?> cls = getJdkClass (String .join ("." , classRoleNameList ));
60
60
if (cls != null ) {
61
61
if (ctType == null ) {
62
62
ctType = new TypeFactory ().get (cls );
You can’t perform that action at this time.
0 commit comments