MCPcopy Index your code
hub / github.com/beanshell/beanshell / importObject

Method importObject

src/bsh/NameSpace.java:1458–1469  ·  view source on GitHub ↗
( Object obj )

Source from the content-addressed store, hash-verified

1456 an importedObject Vector class.
1457 */
1458 public void importObject( Object obj )
1459 {
1460 if ( importedObjects == null )
1461 importedObjects = new ArrayList<Object>();
1462
1463 // If it exists, remove it and add it at the end (avoid memory leak)
1464 importedObjects.remove( obj );
1465
1466 importedObjects.add( obj );
1467 nameSpaceChanged();
1468
1469 }
1470
1471 /**
1472 */

Callers 1

setClassInstanceMethod · 0.95

Calls 3

nameSpaceChangedMethod · 0.95
removeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected