Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Information Provided
-
None
-
None
-
None
-
None
Description
Methods like getMetaClass() are marked with groovy.transform.Generated and groovy.transform.Internal. The new $getLookup() is missing both.
Here is typical output from the java stub generator:
import java.lang.*; import java.util.*; import java.io.*; import java.net.*; import groovy.lang.*; import groovy.util.*; public class Impl extends java.lang.Object implements T, groovy.lang.GroovyObject { ; @groovy.transform.Generated() @groovy.transform.Internal() @java.beans.Transient() public groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;} @groovy.transform.Generated() @groovy.transform.Internal() public void setMetaClass(groovy.lang.MetaClass mc) { } public static java.lang.invoke.MethodHandles.Lookup $getLookup() { return (java.lang.invoke.MethodHandles.Lookup)null;} public void m(C... arr) { } }
Attachments
Issue Links
- relates to
-
GROOVY-10709 Performance regression in Gradle with Groovy 4
- Closed
-
GROOVY-10931 Remove $getLookup method generation (Groovy 4+)
- Closed