Skip to content

Fix type inferencing and syntax highlighting for @Delegate #1528

@eric-milles

Description

@eric-milles

Consider the following:

class C implements Comparator<C> { def p
  @Delegate Comparator<C> cmp = comparing(this::p)
}

"comparing" is highlighting as a static method of Comparator. Since it is static, it should not be available in this way. Additionally, if "excludes" or "includes" attributes are provided to @Delegate the methods available are not adjusted.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions