Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[javac] fix quickfix to implement inherited abstract methods
- add mapping for error id for missing abstract method implementations - fixed an NPE that would prevent the error from being shown on anonymous classes - fix binding logic for anonymous classes example to try out: use the quickfix to add a stub implementation of method() to the anonymous class: ```java public class Parent { static interface IMethodable { void method(); } public static void myMethod() { IMethodable methodable = new IMethodable() { }; methodable.method(); } } ``` Future work: fix the diagnostic range on anonymous classes. We might need access to the AST, since we ideally want to highlight `IMethodable` from the constructor invocation. Signed-off-by: David Thompson <[email protected]>
- Loading branch information