public void clear ( ) { this . variables . clear ( ) ; this . methods . clear ( ) ; this . importedClasses . clear ( ) ; this . importedPackages . clear ( ) ; this . importedCommands . clear ( ) ; this . importedObjects . clear ( ) ; if ( this . parent == null ) this . loadDefaultImports ( ) ; this . classCache . clear ( ) ; this . names . clear ( ) ; }
Clear all variables methods and imports from this namespace . If this namespace is the root it will be reset to the default imports .