public interface jdk.jshell.spi.ExecutionControl extends java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.jshell.spi.ExecutionControl
super_class: java.lang.Object
{
public abstract void load(jdk.jshell.spi.ExecutionControl$ClassBytecodes[]);
descriptor: ([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.jshell.spi.ExecutionControl$ClassInstallException, jdk.jshell.spi.ExecutionControl$NotImplementedException, jdk.jshell.spi.ExecutionControl$EngineTerminationException
MethodParameters:
Name Flags
cbcs
public abstract void redefine(jdk.jshell.spi.ExecutionControl$ClassBytecodes[]);
descriptor: ([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.jshell.spi.ExecutionControl$ClassInstallException, jdk.jshell.spi.ExecutionControl$NotImplementedException, jdk.jshell.spi.ExecutionControl$EngineTerminationException
MethodParameters:
Name Flags
cbcs
public abstract java.lang.String invoke(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
MethodParameters:
Name Flags
className
methodName
public abstract java.lang.String varValue(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
MethodParameters:
Name Flags
className
varName
public abstract void addToClasspath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
MethodParameters:
Name Flags
path
public abstract void stop();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
public abstract java.lang.Object extensionCommand(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.jshell.spi.ExecutionControl$RunException, jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
MethodParameters:
Name Flags
command
arg
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static jdk.jshell.spi.ExecutionControl generate(jdk.jshell.spi.ExecutionEnv, java.lang.String, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljdk/jshell/spi/ExecutionEnv;Ljava/lang/String;Ljava/util/Map;)Ljdk/jshell/spi/ExecutionControl;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
goto 3
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
3: StackMap locals:
StackMap stack: java.util.Set
astore 3
start local 3 4: ldc Ljdk/jshell/spi/ExecutionControlProvider;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: jdk.jshell.spi.ExecutionEnv java.lang.String java.util.Map java.util.Set top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jshell.spi.ExecutionControlProvider
astore 4
start local 4 6: aload 4
invokeinterface jdk.jshell.spi.ExecutionControlProvider.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 4
invokeinterface jdk.jshell.spi.ExecutionControlProvider.defaultParameters:()Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aload 3
invokeinterface java.util.Set.containsAll:(Ljava/util/Collection;)Z
ifeq 9
8: aload 4
aload 0
aload 2
invokeinterface jdk.jshell.spi.ExecutionControlProvider.generate:(Ljdk/jshell/spi/ExecutionEnv;Ljava/util/Map;)Ljdk/jshell/spi/ExecutionControl;
areturn
end local 4 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "No ExecutionControlProvider with name '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' and parameter keys: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 env Ljdk/jshell/spi/ExecutionEnv;
0 13 1 name Ljava/lang/String;
0 13 2 parameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 13 3 keys Ljava/util/Set<Ljava/lang/String;>;
6 9 4 p Ljdk/jshell/spi/ExecutionControlProvider;
Exceptions:
throws java.lang.Throwable
Signature: (Ljdk/jshell/spi/ExecutionEnv;Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljdk/jshell/spi/ExecutionControl;
MethodParameters:
Name Flags
env
name
parameters
public static jdk.jshell.spi.ExecutionControl generate(jdk.jshell.spi.ExecutionEnv, java.lang.String);
descriptor: (Ljdk/jshell/spi/ExecutionEnv;Ljava/lang/String;)Ljdk/jshell/spi/ExecutionControl;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: new jdk.jshell.spi.ExecutionControl$1SpecReader
dup
aload 1
invokespecial jdk.jshell.spi.ExecutionControl$1SpecReader.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual jdk.jshell.spi.ExecutionControl$1SpecReader.readId:()Ljava/lang/String;
astore 4
start local 4 3: aload 3
invokevirtual jdk.jshell.spi.ExecutionControl$1SpecReader.more:()Z
ifeq 12
4: aload 3
bipush 58
invokevirtual jdk.jshell.spi.ExecutionControl$1SpecReader.expect:(C)V
5: goto 11
6: StackMap locals: java.util.Map jdk.jshell.spi.ExecutionControl$1SpecReader java.lang.String
StackMap stack:
aload 3
invokevirtual jdk.jshell.spi.ExecutionControl$1SpecReader.readId:()Ljava/lang/String;
astore 5
start local 5 7: aload 3
invokevirtual jdk.jshell.spi.ExecutionControl$1SpecReader.readValue:()Ljava/lang/String;
astore 6
start local 6 8: aload 2
aload 5
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 3
invokevirtual jdk.jshell.spi.ExecutionControl$1SpecReader.more:()Z
ifeq 11
10: aload 3
bipush 44
invokevirtual jdk.jshell.spi.ExecutionControl$1SpecReader.expect:(C)V
end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 3
invokevirtual jdk.jshell.spi.ExecutionControl$1SpecReader.more:()Z
ifne 6
12: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 2
invokestatic jdk.jshell.spi.ExecutionControl.generate:(Ljdk/jshell/spi/ExecutionEnv;Ljava/lang/String;Ljava/util/Map;)Ljdk/jshell/spi/ExecutionControl;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 env Ljdk/jshell/spi/ExecutionEnv;
0 13 1 spec Ljava/lang/String;
1 13 2 parameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 13 3 sr Ljdk/jshell/spi/ExecutionControl$1SpecReader;
3 13 4 name Ljava/lang/String;
7 11 5 key Ljava/lang/String;
8 11 6 value Ljava/lang/String;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
env
spec
}
SourceFile: "ExecutionControl.java"
NestMembers:
jdk.jshell.spi.ExecutionControl$1SpecReader jdk.jshell.spi.ExecutionControl$ClassBytecodes jdk.jshell.spi.ExecutionControl$ClassInstallException jdk.jshell.spi.ExecutionControl$EngineTerminationException jdk.jshell.spi.ExecutionControl$ExecutionControlException jdk.jshell.spi.ExecutionControl$InternalException jdk.jshell.spi.ExecutionControl$NotImplementedException jdk.jshell.spi.ExecutionControl$ResolutionException jdk.jshell.spi.ExecutionControl$RunException jdk.jshell.spi.ExecutionControl$StoppedException jdk.jshell.spi.ExecutionControl$UserException
InnerClasses:
SpecReader = jdk.jshell.spi.ExecutionControl$1SpecReader
public final ClassBytecodes = jdk.jshell.spi.ExecutionControl$ClassBytecodes of jdk.jshell.spi.ExecutionControl
public ClassInstallException = jdk.jshell.spi.ExecutionControl$ClassInstallException of jdk.jshell.spi.ExecutionControl
public EngineTerminationException = jdk.jshell.spi.ExecutionControl$EngineTerminationException of jdk.jshell.spi.ExecutionControl
public abstract ExecutionControlException = jdk.jshell.spi.ExecutionControl$ExecutionControlException of jdk.jshell.spi.ExecutionControl
public InternalException = jdk.jshell.spi.ExecutionControl$InternalException of jdk.jshell.spi.ExecutionControl
public NotImplementedException = jdk.jshell.spi.ExecutionControl$NotImplementedException of jdk.jshell.spi.ExecutionControl
public ResolutionException = jdk.jshell.spi.ExecutionControl$ResolutionException of jdk.jshell.spi.ExecutionControl
public abstract RunException = jdk.jshell.spi.ExecutionControl$RunException of jdk.jshell.spi.ExecutionControl
public StoppedException = jdk.jshell.spi.ExecutionControl$StoppedException of jdk.jshell.spi.ExecutionControl
public UserException = jdk.jshell.spi.ExecutionControl$UserException of jdk.jshell.spi.ExecutionControl