Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedTypeReference.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedTypeReference.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedTypeReference.java
index 8adf501b8..477ebd03b 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedTypeReference.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedTypeReference.java
@@ -79,6 +79,7 @@ public class QualifiedTypeReference extends TypeReference {
(ReferenceBinding)problemType.closestMatch().leafComponentType());
return null; // don't report again
}
+ recordResolution(scope.environment(), anchoredType);
return anchoredType; // includes the case of AnchorNotFinal
}
}
@@ -140,6 +141,7 @@ public class QualifiedTypeReference extends TypeReference {
if (!(enclosingType != null && enclosingType.isSynthInterface()))
if ((this.bits & IsAllocationType) == 0) // new path.R() is a different story
reportDeprecatedPathSyntax(scope);
+ recordResolution(scope.environment(), roleType);
return roleType;
}
}

Back to the top