@ -217,7 +217,9 @@ public class ExpressionState {
* name / value pair .
* name / value pair .
* @param name the name of the local variable
* @param name the name of the local variable
* @param value the value of the local variable
* @param value the value of the local variable
* @deprecated as of 6 . 2 with no replacement ; to be removed in 7 . 0
* /
* /
@Deprecated ( since = "6.2" , forRemoval = true )
public void enterScope ( String name , Object value ) {
public void enterScope ( String name , Object value ) {
initVariableScopes ( ) . push ( new VariableScope ( name , value ) ) ;
initVariableScopes ( ) . push ( new VariableScope ( name , value ) ) ;
initScopeRootObjects ( ) . push ( getActiveContextObject ( ) ) ;
initScopeRootObjects ( ) . push ( getActiveContextObject ( ) ) ;
@ -228,7 +230,9 @@ public class ExpressionState {
* context object } and a new local variable scope containing the supplied
* context object } and a new local variable scope containing the supplied
* name / value pairs .
* name / value pairs .
* @param variables a map containing name / value pairs for local variables
* @param variables a map containing name / value pairs for local variables
* @deprecated as of 6 . 2 with no replacement ; to be removed in 7 . 0
* /
* /
@Deprecated ( since = "6.2" , forRemoval = true )
public void enterScope ( @Nullable Map < String , Object > variables ) {
public void enterScope ( @Nullable Map < String , Object > variables ) {
initVariableScopes ( ) . push ( new VariableScope ( variables ) ) ;
initVariableScopes ( ) . push ( new VariableScope ( variables ) ) ;
initScopeRootObjects ( ) . push ( getActiveContextObject ( ) ) ;
initScopeRootObjects ( ) . push ( getActiveContextObject ( ) ) ;
@ -246,7 +250,9 @@ public class ExpressionState {
* overwritten .
* overwritten .
* @param name the name of the local variable
* @param name the name of the local variable
* @param value the value of the local variable
* @param value the value of the local variable
* @deprecated as of 6 . 2 with no replacement ; to be removed in 7 . 0
* /
* /
@Deprecated ( since = "6.2" , forRemoval = true )
public void setLocalVariable ( String name , Object value ) {
public void setLocalVariable ( String name , Object value ) {
initVariableScopes ( ) . element ( ) . setVariable ( name , value ) ;
initVariableScopes ( ) . element ( ) . setVariable ( name , value ) ;
}
}
@ -256,7 +262,9 @@ public class ExpressionState {
* @param name the name of the local variable
* @param name the name of the local variable
* @return the value of the local variable , or { @code null } if the variable
* @return the value of the local variable , or { @code null } if the variable
* does not exist in the current scope
* does not exist in the current scope
* @deprecated as of 6 . 2 with no replacement ; to be removed in 7 . 0
* /
* /
@Deprecated ( since = "6.2" , forRemoval = true )
@Nullable
@Nullable
public Object lookupLocalVariable ( String name ) {
public Object lookupLocalVariable ( String name ) {
for ( VariableScope scope : initVariableScopes ( ) ) {
for ( VariableScope scope : initVariableScopes ( ) ) {