public class com.sun.tools.javac.util.Pair<A, B>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.util.Pair
super_class: java.lang.Object
{
public final A fst;
descriptor: Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: TA;
public final B snd;
descriptor: Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: TB;
public void <init>(A, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.javac.util.Pair.fst:Ljava/lang/Object;
2: aload 0
aload 2
putfield com.sun.tools.javac.util.Pair.snd:Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/util/Pair<TA;TB;>;
0 4 1 fst TA;
0 4 2 snd TB;
Signature: (TA;TB;)V
MethodParameters:
Name Flags
fst
snd
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Pair["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.javac.util.Pair.fst:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.javac.util.Pair.snd:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Pair<TA;TB;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.tools.javac.util.Pair
ifeq 4
1: aload 0
getfield com.sun.tools.javac.util.Pair.fst:Ljava/lang/Object;
aload 1
checkcast com.sun.tools.javac.util.Pair
getfield com.sun.tools.javac.util.Pair.fst:Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 4
2: aload 0
getfield com.sun.tools.javac.util.Pair.snd:Ljava/lang/Object;
aload 1
checkcast com.sun.tools.javac.util.Pair
getfield com.sun.tools.javac.util.Pair.snd:Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/util/Pair<TA;TB;>;
0 5 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.Pair.fst:Ljava/lang/Object;
ifnonnull 3
aload 0
getfield com.sun.tools.javac.util.Pair.snd:Ljava/lang/Object;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.tools.javac.util.Pair.snd:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
iconst_1
iadd
StackMap locals:
StackMap stack: int
2: ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Pair.snd:Ljava/lang/Object;
ifnonnull 4
aload 0
getfield com.sun.tools.javac.util.Pair.fst:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
iconst_2
iadd
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Pair.fst:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
bipush 17
imul
aload 0
getfield com.sun.tools.javac.util.Pair.snd:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/util/Pair<TA;TB;>;
public static <A, B> com.sun.tools.javac.util.Pair<A, B> of(A, B);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Lcom/sun/tools/javac/util/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.tools.javac.util.Pair
dup
aload 0
aload 1
invokespecial com.sun.tools.javac.util.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a TA;
0 1 1 b TB;
Signature: <A:Ljava/lang/Object;B:Ljava/lang/Object;>(TA;TB;)Lcom/sun/tools/javac/util/Pair<TA;TB;>;
MethodParameters:
Name Flags
a
b
}
Signature: <A:Ljava/lang/Object;B:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Pair.java"