public abstract class jdk.nashorn.internal.runtime.regexp.RegExp
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.nashorn.internal.runtime.regexp.RegExp
super_class: java.lang.Object
{
private final java.lang.String source;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean global;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ignoreCase;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean multiline;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected jdk.nashorn.internal.runtime.BitVector groupsInNegativeLookahead;
descriptor: Ljdk/nashorn/internal/runtime/BitVector;
flags: (0x0004) ACC_PROTECTED
protected void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, 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 1
invokevirtual java.lang.String.length:()I
ifne 2
ldc "(?:)"
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExp java.lang.String java.lang.String
StackMap stack: jdk.nashorn.internal.runtime.regexp.RegExp
2: aload 1
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExp java.lang.String java.lang.String
StackMap stack: jdk.nashorn.internal.runtime.regexp.RegExp java.lang.String
3: putfield jdk.nashorn.internal.runtime.regexp.RegExp.source:Ljava/lang/String;
4: iconst_0
istore 3
start local 3 5: goto 22
6: StackMap locals: int
StackMap stack:
aload 2
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 7: iload 4
tableswitch { // 103 - 109
103: 8
104: 20
105: 12
106: 20
107: 20
108: 20
109: 16
default: 20
}
8: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.regexp.RegExp.global:Z
ifeq 10
9: ldc "repeated.flag"
ldc "g"
invokestatic jdk.nashorn.internal.runtime.regexp.RegExp.throwParserException:(Ljava/lang/String;Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.nashorn.internal.runtime.regexp.RegExp.global:Z
11: goto 21
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.regexp.RegExp.ignoreCase:Z
ifeq 14
13: ldc "repeated.flag"
ldc "i"
invokestatic jdk.nashorn.internal.runtime.regexp.RegExp.throwParserException:(Ljava/lang/String;Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.nashorn.internal.runtime.regexp.RegExp.ignoreCase:Z
15: goto 21
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.regexp.RegExp.multiline:Z
ifeq 18
17: ldc "repeated.flag"
ldc "m"
invokestatic jdk.nashorn.internal.runtime.regexp.RegExp.throwParserException:(Ljava/lang/String;Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.nashorn.internal.runtime.regexp.RegExp.multiline:Z
19: goto 21
20: StackMap locals:
StackMap stack:
ldc "unsupported.flag"
iload 4
invokestatic java.lang.Character.toString:(C)Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.regexp.RegExp.throwParserException:(Ljava/lang/String;Ljava/lang/String;)V
end local 4 21: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
aload 2
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 3 23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljdk/nashorn/internal/runtime/regexp/RegExp;
0 24 1 source Ljava/lang/String;
0 24 2 flags Ljava/lang/String;
5 23 3 i I
7 21 4 ch C
MethodParameters:
Name Flags
source final
flags final
public java.lang.String getSource();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.regexp.RegExp.source:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/regexp/RegExp;
public void setGlobal(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.nashorn.internal.runtime.regexp.RegExp.global:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/regexp/RegExp;
0 2 1 global Z
MethodParameters:
Name Flags
global final
public boolean isGlobal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.regexp.RegExp.global:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/regexp/RegExp;
public boolean isIgnoreCase();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.regexp.RegExp.ignoreCase:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/regexp/RegExp;
public boolean isMultiline();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.regexp.RegExp.multiline:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/regexp/RegExp;
public jdk.nashorn.internal.runtime.BitVector getGroupsInNegativeLookahead();
descriptor: ()Ljdk/nashorn/internal/runtime/BitVector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.regexp.RegExp.groupsInNegativeLookahead:Ljdk/nashorn/internal/runtime/BitVector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/regexp/RegExp;
public abstract jdk.nashorn.internal.runtime.regexp.RegExpMatcher match(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
str
protected static void throwParserException(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new jdk.nashorn.internal.runtime.ParserException
dup
new java.lang.StringBuilder
dup
ldc "parser.error.regex."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.getMessage:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
invokespecial jdk.nashorn.internal.runtime.ParserException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 str Ljava/lang/String;
Exceptions:
throws jdk.nashorn.internal.runtime.ParserException
MethodParameters:
Name Flags
key final
str final
}
SourceFile: "RegExp.java"