class com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport
super_class: java.lang.Object
{
private static final java.lang.reflect.Method stripIndent;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method translateEscapes;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean hasSupport;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "stripIndent"
invokestatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.getStringMethodOrNull:(Ljava/lang/String;)Ljava/lang/reflect/Method;
putstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.stripIndent:Ljava/lang/reflect/Method;
1: ldc "translateEscapes"
invokestatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.getStringMethodOrNull:(Ljava/lang/String;)Ljava/lang/reflect/Method;
putstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.translateEscapes:Ljava/lang/reflect/Method;
2: getstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.stripIndent:Ljava/lang/reflect/Method;
ifnull 3
getstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.translateEscapes:Ljava/lang/reflect/Method;
ifnull 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: putstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.hasSupport:Z
5: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/parser/JavaTokenizer$TextBlockSupport;
private static java.lang.reflect.Method getStringMethodOrNull(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc Ljava/lang/String;
aload 0
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
name
static boolean hasSupport();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.hasSupport:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static int indent(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
aload 0
invokevirtual java.lang.String.stripLeading:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 line Ljava/lang/String;
MethodParameters:
Name Flags
line
static java.util.Set<com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport$WhitespaceChecks> checkWhitespace(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=13, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: aload 1
areturn
3: StackMap locals: java.util.Set
StackMap stack:
iconst_0
istore 2
start local 2 4: aload 0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 5: iload 3
bipush 10
if_icmpeq 6
iload 3
bipush 13
if_icmpeq 6
iconst_0
goto 7
StackMap locals: int int
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: istore 4
start local 4 8: aload 0
ldc "\\R"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 9: aload 5
arraylength
istore 6
start local 6 10: iload 6
ifne 11
ldc ""
goto 12
StackMap locals: int java.lang.String[] int
StackMap stack:
11: aload 5
iload 6
iconst_1
isub
aaload
StackMap locals:
StackMap stack: java.lang.String
12: astore 7
start local 7 13: iload 4
ifne 23
14: aload 7
invokestatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.indent:(Ljava/lang/String;)I
istore 2
15: aload 5
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 22
StackMap locals: java.lang.String java.util.Set int int int java.lang.String[] int java.lang.String top int int java.lang.String[]
StackMap stack:
16: aload 11
iload 9
aaload
astore 8
start local 8 17: aload 8
invokevirtual java.lang.String.isBlank:()Z
ifne 21
18: iload 2
aload 8
invokestatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.indent:(Ljava/lang/String;)I
invokestatic java.lang.Integer.min:(II)I
istore 2
19: iload 2
ifne 21
20: goto 23
end local 8 21: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
22: iload 9
iload 10
if_icmplt 16
23: StackMap locals: java.lang.String java.util.Set int int int java.lang.String[] int java.lang.String
StackMap stack:
aload 7
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 24: aload 5
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 33
StackMap locals: java.lang.String java.util.Set int int int java.lang.String[] int java.lang.String java.lang.String top int int java.lang.String[]
StackMap stack:
25: aload 12
iload 10
aaload
astore 9
start local 9 26: aload 9
invokevirtual java.lang.String.isBlank:()Z
ifne 28
aload 9
aload 8
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 28
27: aload 1
getstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport$WhitespaceChecks.INCONSISTENT:Lcom/sun/tools/javac/parser/JavaTokenizer$TextBlockSupport$WhitespaceChecks;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
28: StackMap locals: java.lang.String java.util.Set int int int java.lang.String[] int java.lang.String java.lang.String java.lang.String int int java.lang.String[]
StackMap stack:
iload 2
aload 9
invokevirtual java.lang.String.length:()I
if_icmpge 32
29: aload 9
aload 9
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 3
30: iload 3
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 32
31: aload 1
getstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport$WhitespaceChecks.TRAILING:Lcom/sun/tools/javac/parser/JavaTokenizer$TextBlockSupport$WhitespaceChecks;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 32: StackMap locals: java.lang.String java.util.Set int int int java.lang.String[] int java.lang.String java.lang.String top int int java.lang.String[]
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
33: iload 10
iload 11
if_icmplt 25
34: aload 1
areturn
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 35 0 string Ljava/lang/String;
1 35 1 checks Ljava/util/Set<Lcom/sun/tools/javac/parser/JavaTokenizer$TextBlockSupport$WhitespaceChecks;>;
4 35 2 outdent I
5 35 3 lastChar C
8 35 4 optOut Z
9 35 5 lines [Ljava/lang/String;
10 35 6 length I
13 35 7 lastLine Ljava/lang/String;
17 21 8 line Ljava/lang/String;
24 35 8 start Ljava/lang/String;
26 32 9 line Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Set<Lcom/sun/tools/javac/parser/JavaTokenizer$TextBlockSupport$WhitespaceChecks;>;
MethodParameters:
Name Flags
string
static java.lang.String stripIndent(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.stripIndent:Ljava/lang/reflect/Method;
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
1: goto 4
StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
2: astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 string Ljava/lang/String;
3 4 1 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.reflect.InvocationTargetException
0 1 2 Class java.lang.IllegalAccessException
MethodParameters:
Name Flags
string
static java.lang.String translateEscapes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.translateEscapes:Ljava/lang/reflect/Method;
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
1: goto 4
StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
2: astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 string Ljava/lang/String;
3 4 1 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.reflect.InvocationTargetException
0 1 2 Class java.lang.IllegalAccessException
MethodParameters:
Name Flags
string
}
SourceFile: "JavaTokenizer.java"
NestHost: com.sun.tools.javac.parser.JavaTokenizer
InnerClasses:
TextBlockSupport = com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport of com.sun.tools.javac.parser.JavaTokenizer
final WhitespaceChecks = com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport$WhitespaceChecks of com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport