Entrar    Registrar

Olha o GOTO no JAVA :)

Programação Java

Moderadores: guest2003, 51

  • Autor
    Mensagem

Olha o GOTO no JAVA :)

Mensagempor tcpipchip » 16 Fev 2018 08:15

// Compiled from Object.java (version 1.7 : 51.0, super bit)
public class java.lang.Object {

// Method descriptor #20 ()V
// Stack: 0, Locals: 1
public Object();
0 return
Line numbers:
[pc: 0, line: 37]
Local variable table:
[pc: 0, pc: 1] local: this index: 0 type: java.lang.Object

// Method descriptor #20 ()V
private static native void registerNatives();

// Method descriptor #28 ()Ljava/lang/Class;
// Signature: ()Ljava/lang/Class<*>;
public final native java.lang.Class getClass();

// Method descriptor #32 ()I
public native int hashCode();

// Method descriptor #34 (Ljava/lang/Object;)Z
// Stack: 2, Locals: 2
public boolean equals(java.lang.Object obj);
0 aload_0 [this]
1 aload_1 [obj]
2 if_acmpne 9
5 iconst_1
6 goto 10
9 iconst_0
10 ireturn
Line numbers:
[pc: 0, line: 150]
Local variable table:
[pc: 0, pc: 11] local: this index: 0 type: java.lang.Object
[pc: 0, pc: 11] local: obj index: 1 type: java.lang.Object
Stack map table: number of frames 2
[pc: 9, same]
[pc: 10, same_locals_1_stack_item, stack: {int}]

// Method descriptor #38 ()Ljava/lang/Object;
protected native java.lang.Object clone() throws java.lang.CloneNotSupportedException;

// Method descriptor #42 ()Ljava/lang/String;
// Stack: 2, Locals: 1
public java.lang.String toString();
0 new java.lang.StringBuilder [1]
3 dup
4 invokespecial java.lang.StringBuilder() [2]
7 aload_0 [this]
8 invokevirtual java.lang.Object.getClass() : java.lang.Class [3]
11 invokevirtual java.lang.Class.getName() : java.lang.String [4]
14 invokevirtual java.lang.StringBuilder.append(java.lang.String) : java.lang.StringBuilder [5]
17 ldc <String "@"> [6]
19 invokevirtual java.lang.StringBuilder.append(java.lang.String) : java.lang.StringBuilder [5]
22 aload_0 [this]
23 invokevirtual java.lang.Object.hashCode() : int [7]
26 invokestatic java.lang.Integer.toHexString(int) : java.lang.String [8]
29 invokevirtual java.lang.StringBuilder.append(java.lang.String) : java.lang.StringBuilder [5]
32 invokevirtual java.lang.StringBuilder.toString() : java.lang.String [9]
35 areturn
Line numbers:
[pc: 0, line: 237]
Local variable table:
[pc: 0, pc: 36] local: this index: 0 type: java.lang.Object

// Method descriptor #20 ()V
public final native void notify();

// Method descriptor #20 ()V
public final native void notifyAll();

// Method descriptor #46 (J)V
public final native void wait(long arg0) throws java.lang.InterruptedException;

// Method descriptor #48 (JI)V
// Stack: 4, Locals: 4
public final void wait(long timeout, int nanos) throws java.lang.InterruptedException;
0 lload_1 [timeout]
1 lconst_0
2 lcmp
3 ifge 16
6 new java.lang.IllegalArgumentException [10]
9 dup
10 ldc <String "timeout value is negative"> [11]
12 invokespecial java.lang.IllegalArgumentException(java.lang.String) [12]
15 athrow
16 iload_3 [nanos]
17 iflt 26
20 iload_3 [nanos]
21 ldc <Integer 999999> [13]
23 if_icmple 36
26 new java.lang.IllegalArgumentException [10]
29 dup
30 ldc <String "nanosecond timeout value out of range"> [14]
32 invokespecial java.lang.IllegalArgumentException(java.lang.String) [12]
35 athrow
36 iload_3 [nanos]
37 ldc <Integer 500000> [15]
39 if_icmpge 52
42 iload_3 [nanos]
43 ifeq 56
46 lload_1 [timeout]
47 lconst_0
48 lcmp
49 ifne 56
52 lload_1 [timeout]
53 lconst_1
54 ladd
55 lstore_1 [timeout]
56 aload_0 [this]
57 lload_1 [timeout]
58 invokevirtual java.lang.Object.wait(long) : void [16]
61 return
Line numbers:
[pc: 0, line: 448]
[pc: 6, line: 449]
[pc: 16, line: 452]
[pc: 26, line: 453]
[pc: 36, line: 457]
[pc: 52, line: 458]
[pc: 56, line: 461]
[pc: 61, line: 462]
Local variable table:
[pc: 0, pc: 62] local: this index: 0 type: java.lang.Object
[pc: 0, pc: 62] local: timeout index: 1 type: long
[pc: 0, pc: 62] local: nanos index: 3 type: int
Stack map table: number of frames 5
[pc: 16, same]
[pc: 26, same]
[pc: 36, same]
[pc: 52, same]
[pc: 56, same]

// Method descriptor #20 ()V
// Stack: 3, Locals: 1
public final void wait() throws java.lang.InterruptedException;
0 aload_0 [this]
1 lconst_0
2 invokevirtual java.lang.Object.wait(long) : void [16]
5 return
Line numbers:
[pc: 0, line: 503]
[pc: 5, line: 504]
Local variable table:
[pc: 0, pc: 6] local: this index: 0 type: java.lang.Object

// Method descriptor #20 ()V
// Stack: 0, Locals: 1
protected void finalize() throws java.lang.Throwable;
0 return
Line numbers:
[pc: 0, line: 553]
Local variable table:
[pc: 0, pc: 1] local: this index: 0 type: java.lang.Object

// Method descriptor #20 ()V
// Stack: 0, Locals: 0
static {};
0 invokestatic java.lang.Object.registerNatives() : void [17]
3 return
Line numbers:
[pc: 0, line: 41]
[pc: 3, line: 42]
}
------------------------------------------
http://www.youtube.com/tcpipchip
Avatar do usuário
tcpipchip
Dword
 
Mensagens: 5745
Registrado em: 11 Out 2006 22:32
Localização: TCPIPCHIPizinho!

Voltar para Java

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 2 visitantes