public ReloadableType getReloadableType ( String slashedClassname , boolean allocateIdIfNotYetLoaded ) { if ( allocateIdIfNotYetLoaded ) { return getReloadableType ( getTypeIdFor ( slashedClassname , allocateIdIfNotYetLoaded ) ) ; } else { for ( int i = 0 ; i < reloadableTypesSize ; i ++ ) { ReloadableType rtype = reloadableTypes [ i ] ; if ( rtype != null && rtype . getSlashedName ( ) . equals ( slashedClassname ) ) { return rtype ; } } return null ; } }
Find the ReloadableType object for a given classname . If the allocateIdIfNotYetLoaded option is set then a new id will be allocated for this classname if it hasn t previously been seen before . This method does not create new ReloadableType objects they are expected to come into existence when defined by the classloader .