GH-1465: take event listener types defined via annotation attribute into account when looking for references
Fixes GH-1465
This commit is contained in:
@@ -169,11 +169,9 @@ public class EventsReferencesProviderTest {
|
||||
assertTrue(references.contains(expectedLocation2));
|
||||
|
||||
String expectedDefinitionUri3 = directory.toPath().resolve("src/main/java/com/example/events/demo/EventListenerPerInterfaceAndBeanMethod.java").toUri().toString();
|
||||
Location expectedLocation3 = new Location(expectedDefinitionUri3, new Range(new Position(9, 13), new Position(9, 24)));
|
||||
Location expectedLocation3 = new Location(expectedDefinitionUri3, new Range(new Position(7, 13), new Position(7, 31)));
|
||||
|
||||
assertTrue(references.contains(expectedLocation3));
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user