Skip to content

Fix type inferencing and syntax highlighting for interface default methods #967

@eric-milles

Description

@eric-milles

Consider the following:

public interface Face {
  default void meth() {
  }
}
public class Impl implements Face {
}
new Impl().meth()

The method call "meth" is highlighting as unknown (underlined) because the default interface method is not available through ClassNode.getMethods().

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions