public class org.springframework.scripting.support.StaticScriptSource implements org.springframework.scripting.ScriptSource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.scripting.support.StaticScriptSource
super_class: java.lang.Object
{
private java.lang.String script;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean modified;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String className;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>(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
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc ""
putfield org.springframework.scripting.support.StaticScriptSource.script:Ljava/lang/String;
2: aload 0
aload 1
invokevirtual org.springframework.scripting.support.StaticScriptSource.setScript:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/scripting/support/StaticScriptSource;
0 4 1 script Ljava/lang/String;
MethodParameters:
Name Flags
script
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
ldc ""
putfield org.springframework.scripting.support.StaticScriptSource.script:Ljava/lang/String;
2: aload 0
aload 1
invokevirtual org.springframework.scripting.support.StaticScriptSource.setScript:(Ljava/lang/String;)V
3: aload 0
aload 2
putfield org.springframework.scripting.support.StaticScriptSource.className:Ljava/lang/String;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/scripting/support/StaticScriptSource;
0 5 1 script Ljava/lang/String;
0 5 2 className Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
script
className
public synchronized void setScript(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Script must not be empty"
invokestatic org.springframework.util.Assert.hasText:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
aload 0
getfield org.springframework.scripting.support.StaticScriptSource.script:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack: org.springframework.scripting.support.StaticScriptSource
2: iconst_1
StackMap locals: org.springframework.scripting.support.StaticScriptSource java.lang.String
StackMap stack: org.springframework.scripting.support.StaticScriptSource int
3: putfield org.springframework.scripting.support.StaticScriptSource.modified:Z
4: aload 0
aload 1
putfield org.springframework.scripting.support.StaticScriptSource.script:Ljava/lang/String;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/scripting/support/StaticScriptSource;
0 6 1 script Ljava/lang/String;
MethodParameters:
Name Flags
script
public synchronized java.lang.String getScriptAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.springframework.scripting.support.StaticScriptSource.modified:Z
1: aload 0
getfield org.springframework.scripting.support.StaticScriptSource.script:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scripting/support/StaticScriptSource;
public synchronized boolean isModified();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scripting.support.StaticScriptSource.modified:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scripting/support/StaticScriptSource;
public java.lang.String suggestedClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scripting.support.StaticScriptSource.className:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scripting/support/StaticScriptSource;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "static script"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.scripting.support.StaticScriptSource.className:Ljava/lang/String;
ifnull 1
new java.lang.StringBuilder
dup
ldc " ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.scripting.support.StaticScriptSource.className:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack: java.lang.StringBuilder
1: ldc ""
StackMap locals: org.springframework.scripting.support.StaticScriptSource
StackMap stack: java.lang.StringBuilder java.lang.String
2: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/scripting/support/StaticScriptSource;
}
SourceFile: "StaticScriptSource.java"