File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ p2deps {
87
87
into ' jdtCompileOnly' , {
88
88
p2repo ' https://download.eclipse.org/eclipse/updates/4.26/'
89
89
install ' org.eclipse.jdt.core'
90
- install ' org.eclipse.jdt.core.manipulation'
91
90
}
92
91
}
93
92
Original file line number Diff line number Diff line change 32
32
import org .eclipse .jdt .core .dom .Type ;
33
33
import org .eclipse .jdt .core .dom .VariableDeclarationFragment ;
34
34
import org .eclipse .jdt .core .util .CompilationUnitSorter ;
35
- import org .eclipse .jdt .internal .corext .dom .ASTNodes ;
35
+ import org .eclipse .jdt .internal .core .dom .NaiveASTFlattener ;
36
36
37
37
/**
38
38
* This class is derived and adapted code from the Eclipse JDT project (Derivative Works according to EPL 2.0 license).
@@ -382,6 +382,8 @@ private int compareNames(BodyDeclaration bodyDeclaration1, BodyDeclaration bodyD
382
382
}
383
383
384
384
private String buildSignature (Type type ) {
385
- return ASTNodes .asString (type );
385
+ NaiveASTFlattener flattener = new NaiveASTFlattener ();
386
+ type .accept (flattener );
387
+ return flattener .getResult ();
386
388
}
387
389
}
You can’t perform that action at this time.
0 commit comments