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.manipulation/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java
+13-5Lines changed: 13 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -136,18 +136,20 @@ public IMethod findOverriddenMethod(IMethod overriding, boolean testVisibility)
returnres; // methods from interfaces are always public and therefore visible
153
155
}
@@ -160,23 +162,29 @@ public IMethod findOverriddenMethod(IMethod overriding, boolean testVisibility)
160
162
* With generics it is possible that 2 methods in the same type are overidden at the same time. In that case, the first overridden method found is returned.
161
163
* @param type The type to find methods in
162
164
* @param overriding The overriding method
165
+
* @param visited The types that were visited already
163
166
* @return The first overridden method or <code>null</code> if no method is overridden
0 commit comments