public class sun.rmi.rmic.RemoteClass$Method implements java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.rmic.RemoteClass$Method
super_class: java.lang.Object
{
private sun.tools.java.MemberDefinition memberDef;
descriptor: Lsun/tools/java/MemberDefinition;
flags: (0x0002) ACC_PRIVATE
private long methodHash;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private sun.tools.java.ClassDeclaration[] exceptions;
descriptor: [Lsun/tools/java/ClassDeclaration;
flags: (0x0002) ACC_PRIVATE
final sun.rmi.rmic.RemoteClass this$0;
descriptor: Lsun/rmi/rmic/RemoteClass;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public sun.tools.java.MemberDefinition getMemberDefinition();
descriptor: ()Lsun/tools/java/MemberDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.memberDef:Lsun/tools/java/MemberDefinition;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/RemoteClass$Method;
public sun.tools.java.Identifier getName();
descriptor: ()Lsun/tools/java/Identifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.memberDef:Lsun/tools/java/MemberDefinition;
invokevirtual sun.tools.java.MemberDefinition.getName:()Lsun/tools/java/Identifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/RemoteClass$Method;
public sun.tools.java.Type getType();
descriptor: ()Lsun/tools/java/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.memberDef:Lsun/tools/java/MemberDefinition;
invokevirtual sun.tools.java.MemberDefinition.getType:()Lsun/tools/java/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/RemoteClass$Method;
public sun.tools.java.ClassDeclaration[] getExceptions();
descriptor: ()[Lsun/tools/java/ClassDeclaration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.exceptions:[Lsun/tools/java/ClassDeclaration;
invokevirtual sun.tools.java.ClassDeclaration[].clone:()Ljava/lang/Object;
checkcast sun.tools.java.ClassDeclaration[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/RemoteClass$Method;
public long getMethodHash();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.methodHash:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/RemoteClass$Method;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.memberDef:Lsun/tools/java/MemberDefinition;
invokevirtual sun.tools.java.MemberDefinition.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/RemoteClass$Method;
public java.lang.String getOperationString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.memberDef:Lsun/tools/java/MemberDefinition;
invokevirtual sun.tools.java.MemberDefinition.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/RemoteClass$Method;
public java.lang.String getNameAndDescriptor();
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
aload 0
getfield sun.rmi.rmic.RemoteClass$Method.memberDef:Lsun/tools/java/MemberDefinition;
invokevirtual sun.tools.java.MemberDefinition.getName:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.memberDef:Lsun/tools/java/MemberDefinition;
invokevirtual sun.tools.java.MemberDefinition.getType:()Lsun/tools/java/Type;
invokevirtual sun.tools.java.Type.getTypeSignature:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/rmi/rmic/RemoteClass$Method;
void <init>(sun.rmi.rmic.RemoteClass, sun.tools.java.MemberDefinition);
descriptor: (Lsun/rmi/rmic/RemoteClass;Lsun/tools/java/MemberDefinition;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield sun.rmi.rmic.RemoteClass$Method.this$0:Lsun/rmi/rmic/RemoteClass;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield sun.rmi.rmic.RemoteClass$Method.memberDef:Lsun/tools/java/MemberDefinition;
2: aload 0
aload 2
aload 1
getfield sun.rmi.rmic.RemoteClass.env:Lsun/rmi/rmic/BatchEnvironment;
invokevirtual sun.tools.java.MemberDefinition.getExceptions:(Lsun/tools/java/Environment;)[Lsun/tools/java/ClassDeclaration;
putfield sun.rmi.rmic.RemoteClass$Method.exceptions:[Lsun/tools/java/ClassDeclaration;
3: aload 0
aload 0
invokevirtual sun.rmi.rmic.RemoteClass$Method.computeMethodHash:()J
putfield sun.rmi.rmic.RemoteClass$Method.methodHash:J
4: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/rmi/rmic/RemoteClass$Method;
0 5 2 memberDef Lsun/tools/java/MemberDefinition;
MethodParameters:
Name Flags
this$0 final
memberDef
protected java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
pop
3: new java.lang.Error
dup
ldc "clone failed"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/rmic/RemoteClass$Method;
Exception table:
from to target type
0 1 2 Class java.lang.CloneNotSupportedException
private sun.rmi.rmic.RemoteClass$Method mergeWith(sun.rmi.rmic.RemoteClass$Method);
descriptor: (Lsun/rmi/rmic/RemoteClass$Method;)Lsun/rmi/rmic/RemoteClass$Method;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.rmi.rmic.RemoteClass$Method.getName:()Lsun/tools/java/Identifier;
aload 1
invokevirtual sun.rmi.rmic.RemoteClass$Method.getName:()Lsun/tools/java/Identifier;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
invokevirtual sun.rmi.rmic.RemoteClass$Method.getType:()Lsun/tools/java/Type;
aload 1
invokevirtual sun.rmi.rmic.RemoteClass$Method.getType:()Lsun/tools/java/Type;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 6
2: StackMap locals:
StackMap stack:
new java.lang.Error
dup
new java.lang.StringBuilder
dup
ldc "attempt to merge method \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
invokevirtual sun.rmi.rmic.RemoteClass$Method.getNameAndDescriptor:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" with \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
invokevirtual sun.rmi.rmic.RemoteClass$Method.getNameAndDescriptor:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
7: astore 2
start local 2 8: aload 0
9: aload 1
getfield sun.rmi.rmic.RemoteClass$Method.exceptions:[Lsun/tools/java/ClassDeclaration;
aload 0
getfield sun.rmi.rmic.RemoteClass$Method.exceptions:[Lsun/tools/java/ClassDeclaration;
aload 2
10: invokevirtual sun.rmi.rmic.RemoteClass$Method.collectCompatibleExceptions:([Lsun/tools/java/ClassDeclaration;[Lsun/tools/java/ClassDeclaration;Ljava/util/Vector;)V
11: aload 0
12: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.exceptions:[Lsun/tools/java/ClassDeclaration;
aload 1
getfield sun.rmi.rmic.RemoteClass$Method.exceptions:[Lsun/tools/java/ClassDeclaration;
aload 2
13: invokevirtual sun.rmi.rmic.RemoteClass$Method.collectCompatibleExceptions:([Lsun/tools/java/ClassDeclaration;[Lsun/tools/java/ClassDeclaration;Ljava/util/Vector;)V
14: goto 20
StackMap locals: sun.rmi.rmic.RemoteClass$Method sun.rmi.rmic.RemoteClass$Method java.util.Vector
StackMap stack: sun.tools.java.ClassNotFound
15: astore 3
start local 3 16: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.this$0:Lsun/rmi/rmic/RemoteClass;
getfield sun.rmi.rmic.RemoteClass.env:Lsun/rmi/rmic/BatchEnvironment;
lconst_0
ldc "class.not.found"
aload 3
getfield sun.tools.java.ClassNotFound.name:Lsun/tools/java/Identifier;
17: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.this$0:Lsun/rmi/rmic/RemoteClass;
invokevirtual sun.rmi.rmic.RemoteClass.getClassDefinition:()Lsun/tools/java/ClassDefinition;
invokevirtual sun.tools.java.ClassDefinition.getName:()Lsun/tools/java/Identifier;
18: invokevirtual sun.rmi.rmic.BatchEnvironment.error:(JLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
19: aconst_null
areturn
end local 3 20: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.rmi.rmic.RemoteClass$Method.clone:()Ljava/lang/Object;
checkcast sun.rmi.rmic.RemoteClass$Method
astore 3
start local 3 21: aload 3
aload 2
invokevirtual java.util.Vector.size:()I
anewarray sun.tools.java.ClassDeclaration
putfield sun.rmi.rmic.RemoteClass$Method.exceptions:[Lsun/tools/java/ClassDeclaration;
22: aload 2
aload 3
getfield sun.rmi.rmic.RemoteClass$Method.exceptions:[Lsun/tools/java/ClassDeclaration;
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
23: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/rmi/rmic/RemoteClass$Method;
0 24 1 other Lsun/rmi/rmic/RemoteClass$Method;
8 24 2 legalExceptions Ljava/util/Vector<Lsun/tools/java/ClassDeclaration;>;
16 20 3 e Lsun/tools/java/ClassNotFound;
21 24 3 merged Lsun/rmi/rmic/RemoteClass$Method;
Exception table:
from to target type
8 14 15 Class sun.tools.java.ClassNotFound
MethodParameters:
Name Flags
other
private void collectCompatibleExceptions(sun.tools.java.ClassDeclaration[], sun.tools.java.ClassDeclaration[], java.util.Vector<sun.tools.java.ClassDeclaration>);
descriptor: ([Lsun/tools/java/ClassDeclaration;[Lsun/tools/java/ClassDeclaration;Ljava/util/Vector;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 12
2: StackMap locals: int
StackMap stack:
aload 1
iload 4
aaload
aload 0
getfield sun.rmi.rmic.RemoteClass$Method.this$0:Lsun/rmi/rmic/RemoteClass;
getfield sun.rmi.rmic.RemoteClass.env:Lsun/rmi/rmic/BatchEnvironment;
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:(Lsun/tools/java/Environment;)Lsun/tools/java/ClassDefinition;
astore 5
start local 5 3: aload 3
aload 1
iload 4
aaload
invokevirtual java.util.Vector.contains:(Ljava/lang/Object;)Z
ifne 11
4: iconst_0
istore 6
start local 6 5: goto 10
6: StackMap locals: sun.tools.java.ClassDefinition int
StackMap stack:
aload 5
aload 0
getfield sun.rmi.rmic.RemoteClass$Method.this$0:Lsun/rmi/rmic/RemoteClass;
getfield sun.rmi.rmic.RemoteClass.env:Lsun/rmi/rmic/BatchEnvironment;
aload 2
iload 6
aaload
invokevirtual sun.tools.java.ClassDefinition.subClassOf:(Lsun/tools/java/Environment;Lsun/tools/java/ClassDeclaration;)Z
ifeq 9
7: aload 3
aload 1
iload 4
aaload
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
8: goto 11
9: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
aload 2
arraylength
if_icmplt 6
end local 6 end local 5 11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
aload 1
arraylength
if_icmplt 2
end local 4 13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/rmi/rmic/RemoteClass$Method;
0 14 1 from [Lsun/tools/java/ClassDeclaration;
0 14 2 with [Lsun/tools/java/ClassDeclaration;
0 14 3 list Ljava/util/Vector<Lsun/tools/java/ClassDeclaration;>;
1 13 4 i I
3 11 5 exceptionDef Lsun/tools/java/ClassDefinition;
5 11 6 j I
Exceptions:
throws sun.tools.java.ClassNotFound
Signature: ([Lsun/tools/java/ClassDeclaration;[Lsun/tools/java/ClassDeclaration;Ljava/util/Vector<Lsun/tools/java/ClassDeclaration;>;)V
MethodParameters:
Name Flags
from
with
list
private long computeMethodHash();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: new java.io.ByteArrayOutputStream
dup
sipush 512
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 3
start local 3 2: ldc "SHA"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 4
start local 4 3: new java.io.DataOutputStream
dup
4: new java.security.DigestOutputStream
dup
aload 3
aload 4
invokespecial java.security.DigestOutputStream.<init>:(Ljava/io/OutputStream;Ljava/security/MessageDigest;)V
5: invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 5
start local 5 6: aload 0
invokevirtual sun.rmi.rmic.RemoteClass$Method.getNameAndDescriptor:()Ljava/lang/String;
astore 6
start local 6 7: aload 0
getfield sun.rmi.rmic.RemoteClass$Method.this$0:Lsun/rmi/rmic/RemoteClass;
getfield sun.rmi.rmic.RemoteClass.env:Lsun/rmi/rmic/BatchEnvironment;
invokevirtual sun.rmi.rmic.BatchEnvironment.verbose:()Z
ifeq 11
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "[string used for method hash: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\"]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: StackMap locals: sun.rmi.rmic.RemoteClass$Method long java.io.ByteArrayOutputStream java.security.MessageDigest java.io.DataOutputStream java.lang.String
StackMap stack:
aload 5
aload 6
invokevirtual java.io.DataOutputStream.writeUTF:(Ljava/lang/String;)V
12: aload 5
invokevirtual java.io.DataOutputStream.flush:()V
13: aload 4
invokevirtual java.security.MessageDigest.digest:()[B
astore 7
start local 7 14: iconst_0
istore 8
start local 8 15: goto 18
16: StackMap locals: byte[] int
StackMap stack:
lload 1
aload 7
iload 8
baload
sipush 255
iand
i2l
iload 8
bipush 8
imul
lshl
ladd
lstore 1
17: iinc 8 1
StackMap locals:
StackMap stack:
18: iload 8
bipush 8
aload 7
arraylength
invokestatic java.lang.Math.min:(II)I
if_icmplt 16
end local 8 end local 7 end local 6 end local 5 end local 4 19: goto 28
StackMap locals: sun.rmi.rmic.RemoteClass$Method long java.io.ByteArrayOutputStream
StackMap stack: java.io.IOException
20: astore 4
start local 4 21: new java.lang.Error
dup
22: new java.lang.StringBuilder
dup
ldc "unexpected exception computing intetrface hash: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 4 24: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 4
start local 4 25: new java.lang.Error
dup
26: new java.lang.StringBuilder
dup
ldc "unexpected exception computing intetrface hash: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 4 28: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/rmi/rmic/RemoteClass$Method;
1 29 1 hash J
2 29 3 sink Ljava/io/ByteArrayOutputStream;
3 19 4 md Ljava/security/MessageDigest;
6 19 5 out Ljava/io/DataOutputStream;
7 19 6 methodString Ljava/lang/String;
14 19 7 hashArray [B
15 19 8 i I
21 24 4 e Ljava/io/IOException;
25 28 4 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
2 19 20 Class java.io.IOException
2 19 24 Class java.security.NoSuchAlgorithmException
}
SourceFile: "RemoteClass.java"
NestHost: sun.rmi.rmic.RemoteClass
InnerClasses:
public Method = sun.rmi.rmic.RemoteClass$Method of sun.rmi.rmic.RemoteClass