Skip to content

Commit

Permalink
Remap static imports. Fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-gh committed Nov 24, 2019
1 parent 5f2a579 commit 1e2b762
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ public boolean visit(PackageDeclaration node) {

@Override
public boolean visit(ImportDeclaration node) {
if (node.isStatic()) {
// Remap class/member reference separately
return true;
}

IBinding binding = node.resolveBinding();
if (binding != null) {
switch (binding.getKind()) {
Expand Down

0 comments on commit 1e2b762

Please sign in to comment.