public class org.apache.cassandra.service.ClientWarn$State
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.service.ClientWarn$State
super_class: java.lang.Object
{
private final java.util.List<java.lang.String> warnings;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.service.ClientWarn$State.warnings:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/service/ClientWarn$State;
private void add(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.service.ClientWarn$State.warnings:Ljava/util/List;
invokeinterface java.util.List.size:()I
ldc 65535
if_icmpge 2
1: aload 0
getfield org.apache.cassandra.service.ClientWarn$State.warnings:Ljava/util/List;
aload 1
invokestatic org.apache.cassandra.service.ClientWarn$State.maybeTruncate:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/service/ClientWarn$State;
0 3 1 warning Ljava/lang/String;
MethodParameters:
Name Flags
warning
private static java.lang.String maybeTruncate(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ldc 65535
if_icmple 2
1: new java.lang.StringBuilder
dup
aload 0
iconst_0
ldc 65535
ldc " [truncated]"
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " [truncated]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 warning Ljava/lang/String;
MethodParameters:
Name Flags
warning
}
SourceFile: "ClientWarn.java"
NestHost: org.apache.cassandra.service.ClientWarn
InnerClasses:
public State = org.apache.cassandra.service.ClientWarn$State of org.apache.cassandra.service.ClientWarn