Skip to content

Instantly share code, notes, and snippets.

@8tt
Created February 21, 2017 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 8tt/9db6b9753f67e08820a5d3330a83fec7 to your computer and use it in GitHub Desktop.
Save 8tt/9db6b9753f67e08820a5d3330a83fec7 to your computer and use it in GitHub Desktop.
gomobile-test-javap
javap -J-Duser.language=en -s -protected -constants java.lang.Object
Compiled from "Object.java"
public class java.lang.Object {
public java.lang.Object();
descriptor: ()V
public final native java.lang.Class<?> getClass();
descriptor: ()Ljava/lang/Class;
public native int hashCode();
descriptor: ()I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
protected native java.lang.Object clone() throws java.lang.CloneNotSupportedException;
descriptor: ()Ljava/lang/Object;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
public final native void notify();
descriptor: ()V
public final native void notifyAll();
descriptor: ()V
public final native void wait(long) throws java.lang.InterruptedException;
descriptor: (J)V
public final void wait(long, int) throws java.lang.InterruptedException;
descriptor: (JI)V
public final void wait() throws java.lang.InterruptedException;
descriptor: ()V
protected void finalize() throws java.lang.Throwable;
descriptor: ()V
javap -J-Duser.language=en -s -protected -constants java.lang.Runnable
Compiled from "Runnable.java"
public interface java.lang.Runnable {
public abstract void run();
descriptor: ()V
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment