public Map<String, Variable> getDeclaredVariables() {
        if (declaredVariables == Collections.EMPTY_MAP) {
            return declaredVariables;
        } else {
            return Collections.unmodifiableMap(declaredVariables);
        }
    }
public Map < String , Variable > getDeclaredVariables ( ) { if ( declaredVariables == Collections . EMPTY_MAP ) { return declaredVariables ; } else { return Collections . unmodifiableMap ( declaredVariables ) ; } }
Gets a map containing the variables declared in this scope.
This map cannot be modified.
@return a map containing the declared variable references