@SuppressWarnings({"unchecked", "TypeParameterUnusedInFormals"})
  public <T> T getContextVariable(final String name) {
    return (T) contextVariables.get(name);
  }
Gets context variable.

@param <T> the type parameter
@param name the name
@return the context variable
evm/src/main/java/org/hyperledger/besu/evm/frame/MessageFrame.java