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.

Consider the following:
"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@Delegatethe methods available are not adjusted.