Reputation: 5236
In a java class there are some methods like this. I don't get what exactly compiled code is. Can you explain what it is and what it is for?
private Severity(String newSeverityName) {
// <editor-fold defaultstate="collapsed" desc="Compiled Code">
/* 0: aload_0
* 1: invokespecial #60 // Method java/lang/Object."<init>":()V
* 4: aload_0
* 5: getstatic #57 // Field nextOrdinal:I
* 8: dup
* 9: iconst_1
* 10: iadd
* 11: putstatic #57 // Field nextOrdinal:I
* 14: putfield #58 // Field ordinal:I
* 17: aload_0
* 18: aconst_null
* 19: putfield #59 // Field severityName:Ljava/lang/String;
* 22: aload_0
* 23: aload_1
* 24: putfield #59 // Field severityName:Ljava/lang/String;
* 27: return
* */
// </editor-fold>
}
Upvotes: 1
Views: 286
Reputation: 4030
If you want to see the java code, use JAva Decompiler (JAD).
http://sourceforge.net/projects/dcompiler/
Upvotes: 1