checks that class 's name ends in the suffix specified for this handler . override for more complex criteria concode_field_sep Log log concode_elem_sep boolean allowAbstract concode_elem_sep String artefactSuffix concode_elem_sep String type concode_elem_sep Class<?> grailsClassType concode_elem_sep Class<?> grailsClassImpl concode_field_sep String getType concode_elem_sep String getPluginName concode_elem_sep boolean isArtefact concode_elem_sep GrailsClass getArtefactForFeature concode_elem_sep void initialize concode_elem_sep boolean isArtefactGrailsClass concode_elem_sep GrailsClass newArtefactClass
boolean function ( @ SuppressWarnings ( "srini_string" ) Class arg0 ) { if ( arg0 == null ) return false ; boolean loc0 = arg0 . getName ( ) . endsWith ( artefactSuffix ) && ! Closure . class . isAssignableFrom ( arg0 ) ; if ( loc0 && ! allowAbstract ) { loc0 &= ! Modifier . isAbstract ( arg0 . getModifiers ( ) ) ; } return loc0 ; }