public static boolean isClassResource(String resourceName){
  return resourceName.endsWith(".class");
}

public static boolean isClassResource ( String resourceName ) { return resourceName . endsWith ( ".class" ) ; }
determine whether or not the given resource name refers to a class .
