public void setNodeMetaData ( Object key , Object value ) { if ( key == null ) throw new GroovyBugError ( "Tried to set meta data with null key on " + this + "." ) ; if ( metaDataMap == null ) { metaDataMap = new ListHashMap ( ) ; } Object old = metaDataMap . put ( key , value ) ; if ( old != null ) throw new GroovyBugError ( "Tried to overwrite existing meta data " + this + "." ) ; }
Sets the node meta data .