public class jdk.jshell.MethodSnippet extends jdk.jshell.DeclarationSnippet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.jshell.MethodSnippet
super_class: jdk.jshell.DeclarationSnippet
{
final java.lang.String signature;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
private java.lang.String qualifiedParamaterTypes;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>(jdk.jshell.Key$MethodKey, java.lang.String, jdk.jshell.Wrap, java.lang.String, java.lang.String, jdk.jshell.Wrap, java.util.Collection<java.lang.String>, java.util.Collection<java.lang.String>, jdk.jshell.DiagList);
descriptor: (Ljdk/jshell/Key$MethodKey;Ljava/lang/String;Ljdk/jshell/Wrap;Ljava/lang/String;Ljava/lang/String;Ljdk/jshell/Wrap;Ljava/util/Collection;Ljava/util/Collection;Ljdk/jshell/DiagList;)V
flags: (0x0000)
Code:
stack=10, locals=10, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
aload 1
aload 2
aload 3
aload 4
getstatic jdk.jshell.Snippet$SubKind.METHOD_SUBKIND:Ljdk/jshell/Snippet$SubKind;
aload 6
1: aload 7
aload 8
aload 9
invokespecial jdk.jshell.DeclarationSnippet.<init>:(Ljdk/jshell/Key$DeclarationKey;Ljava/lang/String;Ljdk/jshell/Wrap;Ljava/lang/String;Ljdk/jshell/Snippet$SubKind;Ljdk/jshell/Wrap;Ljava/util/Collection;Ljava/util/Collection;Ljdk/jshell/DiagList;)V
2: aload 0
aload 5
putfield jdk.jshell.MethodSnippet.signature:Ljava/lang/String;
3: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/MethodSnippet;
0 4 1 key Ljdk/jshell/Key$MethodKey;
0 4 2 userSource Ljava/lang/String;
0 4 3 guts Ljdk/jshell/Wrap;
0 4 4 name Ljava/lang/String;
0 4 5 signature Ljava/lang/String;
0 4 6 corralled Ljdk/jshell/Wrap;
0 4 7 declareReferences Ljava/util/Collection<Ljava/lang/String;>;
0 4 8 bodyReferences Ljava/util/Collection<Ljava/lang/String;>;
0 4 9 syntheticDiags Ljdk/jshell/DiagList;
Signature: (Ljdk/jshell/Key$MethodKey;Ljava/lang/String;Ljdk/jshell/Wrap;Ljava/lang/String;Ljava/lang/String;Ljdk/jshell/Wrap;Ljava/util/Collection<Ljava/lang/String;>;Ljava/util/Collection<Ljava/lang/String;>;Ljdk/jshell/DiagList;)V
MethodParameters:
Name Flags
key
userSource
guts
name
signature
corralled
declareReferences
bodyReferences
syntheticDiags
public java.lang.String parameterTypes();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.MethodSnippet.key:()Ljdk/jshell/Key$MethodKey;
invokevirtual jdk.jshell.Key$MethodKey.parameterTypes:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/MethodSnippet;
public java.lang.String signature();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.MethodSnippet.signature:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/MethodSnippet;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "MethodSnippet:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
invokevirtual jdk.jshell.MethodSnippet.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
invokevirtual jdk.jshell.MethodSnippet.signature:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
invokevirtual jdk.jshell.MethodSnippet.source:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jshell/MethodSnippet;
1 8 1 sb Ljava/lang/StringBuilder;
jdk.jshell.Key$MethodKey key();
descriptor: ()Ljdk/jshell/Key$MethodKey;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.jshell.DeclarationSnippet.key:()Ljdk/jshell/Key;
checkcast jdk.jshell.Key$MethodKey
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/MethodSnippet;
java.lang.String qualifiedParameterTypes();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.MethodSnippet.qualifiedParamaterTypes:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/MethodSnippet;
void setQualifiedParamaterTypes(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.jshell.MethodSnippet.qualifiedParamaterTypes:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/MethodSnippet;
0 2 1 sig Ljava/lang/String;
MethodParameters:
Name Flags
sig
jdk.jshell.Key key();
descriptor: ()Ljdk/jshell/Key;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.jshell.MethodSnippet.key:()Ljdk/jshell/Key$MethodKey;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "MethodSnippet.java"
InnerClasses:
abstract DeclarationKey = jdk.jshell.Key$DeclarationKey of jdk.jshell.Key
MethodKey = jdk.jshell.Key$MethodKey of jdk.jshell.Key
public final SubKind = jdk.jshell.Snippet$SubKind of jdk.jshell.Snippet