code: public boolean accept(String slashedTypeName, ClassLoader classLoader, ProtectionDomain protectionDomain,
  			byte[] bytes) {
  		// TODO take classloader into account?
  		if (slashedTypeName == null) {
  			return false;
  		}
  		if (!allowCompilableCallSites) {
  			return slashedTypeName.equals("org/codehaus/groovy/runtime/callsite/GroovySunClassLoader")
  					|| slashedTypeName.equals("org/codehaus/groovy/runtime/callsite/CallSiteGenerator");
  		}
  		else {
  			if (slashedTypeName.equals("org/codehaus/groovy/reflection/ClassLoaderForClassArtifacts")) {
  				return true;
  			}
  		}
  		return false;
  	}
docs: implementing LoadtimeInstrumentationPlugin