Skip to content

Commit

Permalink
Fetching compilation unit module from the JDT compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Strum355 committed Aug 25, 2020
1 parent ab905f5 commit 5ff8503
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ public CompilationUnit[] getCompilationUnits() {
} else {
lastSlash += 1;
}
//TODO the module name parsed by JDK compiler is in `this.modNames`
compilationUnit.module = CharOperation.subarray(modulePath, lastSlash, modulePath.length);
compilationUnit.module = this.module.name();
pathToModName.put(String.valueOf(modulePath), compilationUnit.module);
}
} else {
Expand Down

0 comments on commit 5ff8503

Please sign in to comment.