class jdk.jshell.ReplParserFactory extends com.sun.tools.javac.parser.ParserFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.ReplParserFactory
super_class: com.sun.tools.javac.parser.ParserFactory
{
private final boolean forceExpression;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.javac.parser.ScannerFactory scannerFactory;
descriptor: Lcom/sun/tools/javac/parser/ScannerFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static void preRegister(com.sun.tools.javac.util.Context, boolean);
descriptor: (Lcom/sun/tools/javac/util/Context;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljdk/jshell/ReplParserFactory$1Mark;
invokevirtual com.sun.tools.javac.util.Context.get:(Ljava/lang/Class;)Ljava/lang/Object;
ifnonnull 5
1: aload 0
getstatic jdk.jshell.ReplParserFactory.parserFactoryKey:Lcom/sun/tools/javac/util/Context$Key;
2: iload 1
invokedynamic make(Z)Lcom/sun/tools/javac/util/Context$Factory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/sun/tools/javac/util/Context;)Ljava/lang/Object;
jdk/jshell/ReplParserFactory.lambda$0(ZLcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/parser/ParserFactory; (6)
(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/parser/ParserFactory;
3: invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Lcom/sun/tools/javac/util/Context$Factory;)V
4: aload 0
ldc Ljdk/jshell/ReplParserFactory$1Mark;
new jdk.jshell.ReplParserFactory$1Mark
dup
invokespecial jdk.jshell.ReplParserFactory$1Mark.<init>:()V
invokevirtual com.sun.tools.javac.util.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 context Lcom/sun/tools/javac/util/Context;
0 6 1 forceExpression Z
MethodParameters:
Name Flags
context
forceExpression
protected void <init>(com.sun.tools.javac.util.Context, boolean);
descriptor: (Lcom/sun/tools/javac/util/Context;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial com.sun.tools.javac.parser.ParserFactory.<init>:(Lcom/sun/tools/javac/util/Context;)V
1: aload 0
iload 2
putfield jdk.jshell.ReplParserFactory.forceExpression:Z
2: aload 0
aload 1
invokestatic com.sun.tools.javac.parser.ScannerFactory.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/parser/ScannerFactory;
putfield jdk.jshell.ReplParserFactory.scannerFactory:Lcom/sun/tools/javac/parser/ScannerFactory;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/ReplParserFactory;
0 4 1 context Lcom/sun/tools/javac/util/Context;
0 4 2 forceExpression Z
MethodParameters:
Name Flags
context
forceExpression
public com.sun.tools.javac.parser.JavacParser newParser(java.lang.CharSequence, boolean, boolean, boolean);
descriptor: (Ljava/lang/CharSequence;ZZZ)Lcom/sun/tools/javac/parser/JavacParser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield jdk.jshell.ReplParserFactory.scannerFactory:Lcom/sun/tools/javac/parser/ScannerFactory;
aload 1
iload 2
invokevirtual com.sun.tools.javac.parser.ScannerFactory.newScanner:(Ljava/lang/CharSequence;Z)Lcom/sun/tools/javac/parser/Scanner;
astore 5
start local 5 1: new jdk.jshell.ReplParser
dup
aload 0
aload 5
iload 2
iload 4
iload 3
aload 0
getfield jdk.jshell.ReplParserFactory.forceExpression:Z
invokespecial jdk.jshell.ReplParser.<init>:(Lcom/sun/tools/javac/parser/ParserFactory;Lcom/sun/tools/javac/parser/Lexer;ZZZZ)V
areturn
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 2 0 this Ljdk/jshell/ReplParserFactory;
0 2 1 input Ljava/lang/CharSequence;
0 2 2 keepDocComments Z
0 2 3 keepEndPos Z
0 2 4 keepLineMap Z
1 2 5 lexer Lcom/sun/tools/javac/parser/Lexer;
MethodParameters:
Name Flags
input
keepDocComments
keepEndPos
keepLineMap
public com.sun.tools.javac.parser.JavacParser newParser(java.lang.CharSequence, boolean, boolean, boolean, boolean);
descriptor: (Ljava/lang/CharSequence;ZZZZ)Lcom/sun/tools/javac/parser/JavacParser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual jdk.jshell.ReplParserFactory.newParser:(Ljava/lang/CharSequence;ZZZ)Lcom/sun/tools/javac/parser/JavacParser;
areturn
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 1 0 this Ljdk/jshell/ReplParserFactory;
0 1 1 input Ljava/lang/CharSequence;
0 1 2 keepDocComments Z
0 1 3 keepEndPos Z
0 1 4 keepLineMap Z
0 1 5 parseModuleInfo Z
MethodParameters:
Name Flags
input
keepDocComments
keepEndPos
keepLineMap
parseModuleInfo
private static com.sun.tools.javac.parser.ParserFactory lambda$0(boolean, com.sun.tools.javac.util.Context);
descriptor: (ZLcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/parser/ParserFactory;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: new jdk.jshell.ReplParserFactory
dup
aload 1
iload 0
invokespecial jdk.jshell.ReplParserFactory.<init>:(Lcom/sun/tools/javac/util/Context;Z)V
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 c Lcom/sun/tools/javac/util/Context;
}
SourceFile: "ReplParserFactory.java"
NestMembers:
jdk.jshell.ReplParserFactory$1Mark
InnerClasses:
public abstract Factory = com.sun.tools.javac.util.Context$Factory of com.sun.tools.javac.util.Context
public Key = com.sun.tools.javac.util.Context$Key of com.sun.tools.javac.util.Context
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
Mark = jdk.jshell.ReplParserFactory$1Mark