Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-10273

New $getLookup() method is not marked as generated or internal

    XMLWordPrintableJSON

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

          Activity

            People

              daniel_sun Daniel Sun
              emilles Eric Milles
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: