public boolean isArtefact ( @ SuppressWarnings ( "rawtypes" ) Class theClazz ) { String className = theClazz . getName ( ) ; for ( Class < ? > artefactClass : allArtefactClasses ) { if ( className . equals ( artefactClass . getName ( ) ) ) { return true ; } } return false ; }
Returns true if the given class is an artefact identified by one of the registered ArtefactHandler instances . Uses class name equality to handle class reloading