class jdk.jshell.Eval$1ModifierDiagnostic extends jdk.jshell.Diag
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.Eval$1ModifierDiagnostic
super_class: jdk.jshell.Diag
{
final boolean fatal;
descriptor: Z
flags: (0x0010) ACC_FINAL
final java.lang.String message;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
long start;
descriptor: J
flags: (0x0000)
long end;
descriptor: J
flags: (0x0000)
final jdk.jshell.Eval this$0;
descriptor: Ljdk/jshell/Eval;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.List<javax.lang.model.element.Modifier>, );
descriptor: (Ljdk/jshell/Eval;Ljava/util/List;ZLjdk/jshell/TreeDissector;Lcom/sun/source/tree/ModifiersTree;)V
flags: (0x0000)
Code:
stack=7, locals=9, args_size=6
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield jdk.jshell.Eval$1ModifierDiagnostic.this$0:Ljdk/jshell/Eval;
aload 0
invokespecial jdk.jshell.Diag.<init>:()V
1: aload 0
iload 3
putfield jdk.jshell.Eval$1ModifierDiagnostic.fatal:Z
2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 6
start local 6 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 8
StackMap locals: jdk.jshell.Eval$1ModifierDiagnostic jdk.jshell.Eval java.util.List int jdk.jshell.TreeDissector com.sun.source.tree.ModifiersTree java.lang.StringBuilder top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.Modifier
astore 7
start local 7 5: aload 6
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 6
aload 7
invokevirtual javax.lang.model.element.Modifier.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 6
ldc "' "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 8: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 13
10: iload 3
ifeq 12
11: ldc "jshell.diag.modifier.plural.fatal"
goto 16
12: StackMap locals: jdk.jshell.Eval$1ModifierDiagnostic jdk.jshell.Eval java.util.List int jdk.jshell.TreeDissector com.sun.source.tree.ModifiersTree java.lang.StringBuilder
StackMap stack:
ldc "jshell.diag.modifier.plural.ignore"
goto 16
13: StackMap locals:
StackMap stack:
iload 3
ifeq 15
14: ldc "jshell.diag.modifier.single.fatal"
goto 16
15: StackMap locals:
StackMap stack:
ldc "jshell.diag.modifier.single.ignore"
16: StackMap locals:
StackMap stack: java.lang.String
astore 7
start local 7 17: aload 0
aload 1
getfield jdk.jshell.Eval.state:Ljdk/jshell/JShell;
aload 7
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
invokevirtual jdk.jshell.JShell.messageFormat:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
putfield jdk.jshell.Eval$1ModifierDiagnostic.message:Ljava/lang/String;
18: aload 0
aload 4
aload 5
invokevirtual jdk.jshell.TreeDissector.getStartPosition:(Lcom/sun/source/tree/Tree;)I
i2l
putfield jdk.jshell.Eval$1ModifierDiagnostic.start:J
19: aload 0
aload 4
aload 5
invokevirtual jdk.jshell.TreeDissector.getEndPosition:(Lcom/sun/source/tree/Tree;)I
i2l
putfield jdk.jshell.Eval$1ModifierDiagnostic.end:J
20: return
end local 7 end local 6 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/jshell/Eval$1ModifierDiagnostic;
0 21 2 list Ljava/util/List<Ljavax/lang/model/element/Modifier;>;
0 21 3 fatal Z
3 21 6 sb Ljava/lang/StringBuilder;
5 8 7 mod Ljavax/lang/model/element/Modifier;
17 21 7 key Ljava/lang/String;
Signature: (Ljava/util/List<Ljavax/lang/model/element/Modifier;>;Z)V
MethodParameters:
Name Flags
this$0 final
list
fatal
val$dis final
val$modtree final
public boolean isError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Eval$1ModifierDiagnostic.fatal:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Eval$1ModifierDiagnostic;
public long getPosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Eval$1ModifierDiagnostic.start:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Eval$1ModifierDiagnostic;
public long getStartPosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Eval$1ModifierDiagnostic.start:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Eval$1ModifierDiagnostic;
public long getEndPosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Eval$1ModifierDiagnostic.end:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Eval$1ModifierDiagnostic;
public java.lang.String getCode();
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.Eval$1ModifierDiagnostic.fatal:Z
ifeq 2
1: ldc "jdk.eval.error.illegal.modifiers"
goto 3
2: StackMap locals:
StackMap stack:
ldc "jdk.eval.warn.illegal.modifiers"
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/Eval$1ModifierDiagnostic;
public java.lang.String getMessage(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.Eval$1ModifierDiagnostic.message:Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Eval$1ModifierDiagnostic;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
}
SourceFile: "Eval.java"
EnclosingMethod: jdk.jshell.Eval.modifierDiagnostics:(Lcom/sun/source/tree/ModifiersTree;Ljdk/jshell/TreeDissector;Z)Ljdk/jshell/DiagList;
NestHost: jdk.jshell.Eval
InnerClasses:
ModifierDiagnostic = jdk.jshell.Eval$1ModifierDiagnostic