You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/core/search/matching/DOMSuperTypeReferenceLocator.java
@@ -49,6 +53,9 @@ public LocatorResponse match(Type node, NodeSetWrapper nodeSet, MatchLocator loc
49
53
if (!Set.of(TypeDeclaration.SUPERCLASS_TYPE_PROPERTY, TypeDeclaration.SUPER_INTERFACE_TYPES_PROPERTY, ClassInstanceCreation.TYPE_PROPERTY).contains(node.getLocationInParent())) {
50
54
returntoResponse(IMPOSSIBLE_MATCH);
51
55
}
56
+
if (this.locator.pattern.typeSuffix == IIndexConstants.INTERFACE_SUFFIX && node.getLocationInParent() == ClassInstanceCreation.TYPE_PROPERTY) {
0 commit comments