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

GroovyObject method implementations are marked with ACC_SYNTHETIC

    XMLWordPrintableJSON

    Details

      Description

      class GroovyClass {}
      
      javap -v (stripped)
      ...
      public class com.example.groovylib.GroovyClass implements groovy.lang.GroovyObject
        flags: ACC_PUBLIC, ACC_SUPER
      ...
      {
        public static transient boolean __$stMC;
          descriptor: Z
          flags: ACC_PUBLIC, ACC_STATIC, ACC_TRANSIENT, ACC_SYNTHETIC
      
        public com.example.groovylib.GroovyClass();
          descriptor: ()V
          flags: ACC_PUBLIC
      
        protected groovy.lang.MetaClass $getStaticMetaClass();
          descriptor: ()Lgroovy/lang/MetaClass;
          flags: ACC_PROTECTED, ACC_SYNTHETIC
      
        public groovy.lang.MetaClass getMetaClass();
          descriptor: ()Lgroovy/lang/MetaClass;
          flags: ACC_PUBLIC, ACC_SYNTHETIC
      
        public void setMetaClass(groovy.lang.MetaClass);
          descriptor: (Lgroovy/lang/MetaClass;)V
          flags: ACC_PUBLIC, ACC_SYNTHETIC
          
        public java.lang.Object invokeMethod(java.lang.String, java.lang.Object);
          descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
          flags: ACC_PUBLIC, ACC_SYNTHETIC
          
        public java.lang.Object getProperty(java.lang.String);
          descriptor: (Ljava/lang/String;)Ljava/lang/Object;
          flags: ACC_PUBLIC, ACC_SYNTHETIC
      
        public void setProperty(java.lang.String, java.lang.Object);
          descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
          flags: ACC_PUBLIC, ACC_SYNTHETIC
      }
      SourceFile: "GroovyClass.groovy"
      

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                paulk Paul King
                Reporter:
                daniilo Daniil Ovchinnikov
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: