Skip to content

Instantly share code, notes, and snippets.

@osscontributor
Created June 12, 2014 18:13
Show Gist options
  • Save osscontributor/9a873cce2acfd1561e3d to your computer and use it in GitHub Desktop.
Save osscontributor/9a873cce2acfd1561e3d to your computer and use it in GitHub Desktop.
Stuff generated for an empty class...
groovyquestion $ cat Demo.groovy
class Demo {
// this is an empty class
}
groovyquestion $
groovyquestion $ groovyc Demo.groovy
groovyquestion $
groovyquestion $ javap -private Demo
Compiled from "Demo.groovy"
public class Demo implements groovy.lang.GroovyObject {
private static org.codehaus.groovy.reflection.ClassInfo $staticClassInfo;
public static transient boolean __$stMC;
private transient groovy.lang.MetaClass metaClass;
public static long __timeStamp;
public static long __timeStamp__239_neverHappen1402596739220;
private static java.lang.ref.SoftReference $callSiteArray;
public Demo();
public java.lang.Object this$dist$invoke$1(java.lang.String, java.lang.Object);
public void this$dist$set$1(java.lang.String, java.lang.Object);
public java.lang.Object this$dist$get$1(java.lang.String);
protected groovy.lang.MetaClass $getStaticMetaClass();
public groovy.lang.MetaClass getMetaClass();
public void setMetaClass(groovy.lang.MetaClass);
public java.lang.Object invokeMethod(java.lang.String, java.lang.Object);
public java.lang.Object getProperty(java.lang.String);
public void setProperty(java.lang.String, java.lang.Object);
public static void __$swapInit();
static {};
public void super$1$wait();
public java.lang.String super$1$toString();
public void super$1$wait(long);
public void super$1$wait(long, int);
public void super$1$notify();
public void super$1$notifyAll();
public java.lang.Class super$1$getClass();
public java.lang.Object super$1$clone();
public boolean super$1$equals(java.lang.Object);
public int super$1$hashCode();
public void super$1$finalize();
private static org.codehaus.groovy.runtime.callsite.CallSiteArray $createCallSiteArray();
private static org.codehaus.groovy.runtime.callsite.CallSite[] $getCallSiteArray();
static java.lang.Class class$(java.lang.String);
}
groovyquestion $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment