private boolean isTransformed(Class clazz, String name, boolean isInterface) { if (isBytemanClass(name) || !isTransformable(name)) { return false; } boolean found = false; List<RuleScript> scripts; if (isInterface) { scripts = scriptRepository.scriptsForInterfaceName(name); } else { scripts = scriptRepository.scriptsForClassName(name); } if (scripts != null) { for (RuleScript script : scripts) { if (script.hasTransform(clazz)) { found = true; Helper.verbose("Retransforming loaded bootstrap class " + clazz.getName()); break; } } } return found; }
private boolean isTransformed(Class clazz, String name, boolean isInterface) { if (isBytemanClass(name) || !isTransformable(name)) { return false; } boolean found = false; List<RuleScript> scripts; if (isInterface) { scripts = scriptRepository.scriptsForInterfaceName(name); } else { scripts = scriptRepository.scriptsForClassName(name); } if (scripts != null) { for (RuleScript script : scripts) { if (script.hasTransform(clazz)) { found = true; Helper.verbose("Retransforming loaded bootstrap class " + clazz.getName()); break; } } } return found; }
if (script.hasTransform(targetClass)) { List<Transform> transforms = script.allTransforms(); for (Transform transform : transforms) {
if (script.hasTransform(targetClass)) { List<Transform> transforms = script.allTransforms(); for (Transform transform : transforms) {