Last active
January 18, 2017 15:50
-
-
Save weverb2/9a4a7bccffe4d4b3bdd99f9153e1b00c to your computer and use it in GitHub Desktop.
Javap ran on a data class
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
brando:kotlinsample brandon$ javap ServerResponse.class | |
Compiled from "ServerResponse.kt" | |
public final class com.brandonwever.android.kotlinsample.ServerResponse { | |
public final java.lang.String getMessage(); | |
public final void setMessage(java.lang.String); | |
public final int getStatusCode(); | |
public final void setStatusCode(int); | |
public final java.lang.String getBody(); | |
public final void setBody(java.lang.String); | |
public com.brandonwever.android.kotlinsample.ServerResponse(java.lang.String, int, java.lang.String); | |
public com.brandonwever.android.kotlinsample.ServerResponse(java.lang.String, int, java.lang.String, int, kotlin.jvm.internal.DefaultConstructorMarker); | |
public com.brandonwever.android.kotlinsample.ServerResponse(java.lang.String, int); | |
public com.brandonwever.android.kotlinsample.ServerResponse(java.lang.String); | |
public com.brandonwever.android.kotlinsample.ServerResponse(); | |
public final java.lang.String component1(); | |
public final int component2(); | |
public final java.lang.String component3(); | |
public final com.brandonwever.android.kotlinsample.ServerResponse copy(java.lang.String, int, java.lang.String); | |
public static com.brandonwever.android.kotlinsample.ServerResponse copy$default(com.brandonwever.android.kotlinsample.ServerResponse, java.lang.String, int, java.lang.String, int, java.lang.Object); | |
public java.lang.String toString(); | |
public int hashCode(); | |
public boolean equals(java.lang.Object); | |
} |
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
data class ServerResponse @JvmOverloads constructor( | |
var message: String? = null, | |
var statusCode: Int = 0, | |
var body: String? = null) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment