spring-framework / org.springframework.scripting.support / StaticScriptSource / <init>

<init>

StaticScriptSource(script: String)

Create a new StaticScriptSource for the given script.

Parameters

script - the script String

StaticScriptSource(script: String, @Nullable className: String)

Create a new StaticScriptSource for the given script.

Parameters

script - the script String

className - the suggested class name for the script (may be null)