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: aload 5
iload 6
iconst_1
isub
aaload
astore 7
start local 7 11: iload 4
ifne 21
12: aload 7
invokestatic com.sun.tools.javac.parser.JavaTokenizer$TextBlockSupport.indent:(Ljava/lang/String;)I
istore 2
13: aload 5
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 20
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:
14: aload 11
iload 9
aaload
astore 8
start local 8 15: aload 8
invokevirtual java.lang.String.isBlank:()Z
ifne 19
16: 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
17: iload 2
ifne 19
18: goto 21
end local 8 19: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
20: iload 9
iload 10
if_icmplt 14
21: 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 22: aload 5
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 31
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:
23: aload 12
iload 10
aaload
astore 9
start local 9 24: aload 9
invokevirtual java.lang.String.isBlank:()Z
ifne 26
aload 9
aload 8
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 26
25: 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
26: 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 30
27: aload 9
aload 9
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 3
28: iload 3
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 30
29: 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 30: 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:
31: iload 10
iload 11
if_icmplt 23
32: 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 33 0 string Ljava/lang/String;
1 33 1 checks Ljava/util/Set<Lcom/sun/tools/javac/parser/JavaTokenizer$TextBlockSupport$WhitespaceChecks;>;
4 33 2 outdent I
5 33 3 lastChar C
8 33 4 optOut Z
9 33 5 lines [Ljava/lang/String;
10 33 6 length I
11 33 7 lastLine Ljava/lang/String;
15 19 8 line Ljava/lang/String;
22 33 8 start Ljava/lang/String;
24 30 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