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 {
8787 into ' jdtCompileOnly' , {
8888 p2repo ' https://download.eclipse.org/eclipse/updates/4.26/'
8989 install ' org.eclipse.jdt.core'
90- install ' org.eclipse.jdt.core.manipulation'
9190 }
9291}
9392
Original file line number Diff line number Diff line change 3232import org .eclipse .jdt .core .dom .Type ;
3333import org .eclipse .jdt .core .dom .VariableDeclarationFragment ;
3434import org .eclipse .jdt .core .util .CompilationUnitSorter ;
35- import org .eclipse .jdt .internal .corext .dom .ASTNodes ;
35+ import org .eclipse .jdt .internal .core .dom .NaiveASTFlattener ;
3636
3737/**
3838 * 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
382382 }
383383
384384 private String buildSignature (Type type ) {
385- return ASTNodes .asString (type );
385+ NaiveASTFlattener flattener = new NaiveASTFlattener ();
386+ type .accept (flattener );
387+ return flattener .getResult ();
386388 }
387389}
You can’t perform that action at this time.
0 commit comments