-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for interface and abstract method implementation code lens
Signed-off-by: Hope Hadfield <[email protected]>
- Loading branch information
1 parent
64cc830
commit c72b804
Showing
6 changed files
with
142 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
org.eclipse.jdt.ls.tests/projects/eclipse/hello/src/java/Ext.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package java; | ||
|
||
public class Ext extends Test{ | ||
|
||
@Override | ||
public void testMethod() {} | ||
|
||
@Override | ||
public void testAbstractMethod() {} | ||
} |
7 changes: 7 additions & 0 deletions
7
org.eclipse.jdt.ls.tests/projects/eclipse/hello/src/java/ITest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package java; | ||
|
||
public interface ITest { | ||
|
||
public void testMethod(); | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
org.eclipse.jdt.ls.tests/projects/eclipse/hello/src/java/Test.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package java; | ||
|
||
public abstract class Test implements ITest { | ||
|
||
@Override | ||
public void testMethod() {} | ||
|
||
public abstract void testAbstractMethod(); | ||
|
||
public void noReferences() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters