GROOVY Procedure

CLEAR Command

Syntax

CLEAR;

Details

The CLEAR command empties the binding and unloads the Groovy classloader. When this statement is executed, any variables that are saved in the binding are rendered unavailable. Any classes that are loaded into the Groovy classloader are also rendered unavailable.
RESET is an alias for the CLEAR command.
Note: Neither the CLEAR command nor the RESET command resets the System.Properties collection or the CLASSPATH.