public final class com.sun.tools.internal.xjc.util.StringCutter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.internal.xjc.util.StringCutter
super_class: java.lang.Object
{
private final java.lang.String original;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String s;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean ignoreWhitespace;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
aload 1
dup_x1
putfield com.sun.tools.internal.xjc.util.StringCutter.original:Ljava/lang/String;
putfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
2: aload 0
iload 2
putfield com.sun.tools.internal.xjc.util.StringCutter.ignoreWhitespace:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/util/StringCutter;
0 4 1 s Ljava/lang/String;
0 4 2 ignoreWhitespace Z
MethodParameters:
Name Flags
s
ignoreWhitespace
public void skip(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.util.StringCutter.next:(Ljava/lang/String;)Ljava/lang/String;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/util/StringCutter;
0 2 1 regexp Ljava/lang/String;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
regexp
public java.lang.String next(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.internal.xjc.util.StringCutter.trim:()V
1: aload 1
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 2
start local 2 2: aload 2
aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 3: aload 3
invokevirtual java.util.regex.Matcher.lookingAt:()Z
ifeq 8
4: aload 3
invokevirtual java.util.regex.Matcher.group:()Ljava/lang/String;
astore 4
start local 4 5: aload 0
aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
6: aload 0
invokevirtual com.sun.tools.internal.xjc.util.StringCutter.trim:()V
7: aload 4
areturn
end local 4 8: StackMap locals: java.util.regex.Pattern java.util.regex.Matcher
StackMap stack:
aload 0
invokevirtual com.sun.tools.internal.xjc.util.StringCutter.error:()Ljava/text/ParseException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/internal/xjc/util/StringCutter;
0 9 1 regexp Ljava/lang/String;
2 9 2 p Ljava/util/regex/Pattern;
3 9 3 m Ljava/util/regex/Matcher;
5 8 4 r Ljava/lang/String;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
regexp
private java.text.ParseException error();
descriptor: ()Ljava/text/ParseException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.text.ParseException
dup
aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.original:Ljava/lang/String;
aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.original:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
isub
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/util/StringCutter;
public java.lang.String until(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 2
start local 2 1: aload 2
aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 2: aload 3
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 8
3: aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
iconst_0
aload 3
invokevirtual java.util.regex.Matcher.start:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 4: aload 0
aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
aload 3
invokevirtual java.util.regex.Matcher.start:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
5: aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.ignoreWhitespace:Z
ifeq 7
6: aload 4
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
7: StackMap locals: java.util.regex.Pattern java.util.regex.Matcher java.lang.String
StackMap stack:
aload 4
areturn
end local 4 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
astore 4
start local 4 9: aload 0
ldc ""
putfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
10: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/internal/xjc/util/StringCutter;
0 11 1 regexp Ljava/lang/String;
1 11 2 p Ljava/util/regex/Pattern;
2 11 3 m Ljava/util/regex/Matcher;
4 8 4 r Ljava/lang/String;
9 11 4 r Ljava/lang/String;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
regexp
public char peek();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/util/StringCutter;
private void trim();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.ignoreWhitespace:Z
ifeq 2
1: aload 0
aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
putfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/util/StringCutter;
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.util.StringCutter.s:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/util/StringCutter;
}
SourceFile: "StringCutter.java"