On 05/20/2017 11:30 PM, Peter Levart wrote:
http://cr.openjdk.java.net/~plevart/jdk9-dev/8074977_ConstructorParameterAnnotations/webrev.01/If there was a reliable way to determine whether a local or anonymous class is from static context or not, then this could work for javac generated code at least.
... it works for member classes and for enum classes and enum constant anonymous subclasses. Only local and anonymous classes are problematic...
Peter