Created
November 21, 2012 02:33
-
-
Save stew/4122692 to your computer and use it in GitHub Desktop.
output of javap -p *.class for case class Square
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ javap -p *.class | |
Compiled from "foo.scala" | |
public class Square implements scala.Product,scala.Serializable { | |
private final int width; | |
private final java.lang.String name; | |
public static final <A extends java/lang/Object> scala.Function1<java.lang.Object, A> andThen(scala.Function1<Square, A>); | |
public static final <A extends java/lang/Object> scala.Function1<A, Square> compose(scala.Function1<A, java.lang.Object>); | |
public scala.collection.Iterator<java.lang.Object> productIterator(); | |
public scala.collection.Iterator<java.lang.Object> productElements(); | |
public int width(); | |
public java.lang.String name(); | |
public Square copy(int); | |
public int copy$default$1(); | |
public int hashCode(); | |
public java.lang.String toString(); | |
public boolean equals(java.lang.Object); | |
public java.lang.String productPrefix(); | |
public int productArity(); | |
public java.lang.Object productElement(int); | |
public boolean canEqual(java.lang.Object); | |
private final boolean gd1$1(int); | |
public Square(int); | |
} | |
Compiled from "foo.scala" | |
public final class Square$ extends scala.runtime.AbstractFunction1 implements scala.ScalaObject,scala.Serializable { | |
public static final Square$ MODULE$; | |
public static {}; | |
public final java.lang.String toString(); | |
public scala.Option unapply(Square); | |
public Square apply(int); | |
public java.lang.Object readResolve(); | |
public java.lang.Object apply(java.lang.Object); | |
private Square$(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment