private byte[] processClass(ClassLoaderHook hook, String name, byte[] classbytes, ClasspathEntry classpathEntry, BundleEntry entry, ClasspathManager classpathManager, List<ClassLoaderHook> hooks) { byte[] modifiedBytes = hook.processClass(name, classbytes, classpathEntry, entry, this); if (modifiedBytes != null) { // the WeavingHookConfigurator already calls the rejectTransformation method; avoid calling it again. if (!(hook instanceof WeavingHookConfigurator)) { for (ClassLoaderHook rejectHook : hooks) { if (rejectHook.rejectTransformation(name, modifiedBytes, classpathEntry, entry, this)) { modifiedBytes = null; break; } } } if (modifiedBytes != null) { classbytes = modifiedBytes; } } return classbytes; }
private byte[] processClass(ClassLoaderHook hook, String name, byte[] classbytes, ClasspathEntry classpathEntry, BundleEntry entry, ClasspathManager classpathManager, List<ClassLoaderHook> hooks) { byte[] modifiedBytes = hook.processClass(name, classbytes, classpathEntry, entry, this); if (modifiedBytes != null) { // the WeavingHookConfigurator already calls the rejectTransformation method; avoid calling it again. if (!(hook instanceof WeavingHookConfigurator)) { for (ClassLoaderHook rejectHook : hooks) { if (rejectHook.rejectTransformation(name, modifiedBytes, classpathEntry, entry, this)) { modifiedBytes = null; break; } } } if (modifiedBytes != null) { classbytes = modifiedBytes; } } return classbytes; }
if (rejectHook.rejectTransformation(name, modifiedBytes, classpathEntry, entry, this)) { modifiedBytes = null; break;
if (rejectHook.rejectTransformation(name, modifiedBytes, classpathEntry, entry, this)) { modifiedBytes = null; break;
if (rejectHook.rejectTransformation(name, modifiedBytes, classpathEntry, entry, this)) { modifiedBytes = null; break;
if (rejectHook.rejectTransformation(name, modifiedBytes, classpathEntry, entry, this)) { modifiedBytes = null; break;
if ((hookFlags & FLAG_HOOKCALLED) != 0) { for (ClassLoaderHook classLoaderHook : container.getConfiguration().getHookRegistry().getClassLoaderHooks()) { rejected |= classLoaderHook.rejectTransformation(className, resultBytes, classpathEntry, entry, loader.getModuleClassLoader().getClasspathManager());
if ((hookFlags & FLAG_HOOKCALLED) != 0) { for (ClassLoaderHook classLoaderHook : container.getConfiguration().getHookRegistry().getClassLoaderHooks()) { rejected |= classLoaderHook.rejectTransformation(className, resultBytes, classpathEntry, entry, loader.getModuleClassLoader().getClasspathManager());
if ((hookFlags & FLAG_HOOKCALLED) != 0) { for (ClassLoaderHook classLoaderHook : container.getConfiguration().getHookRegistry().getClassLoaderHooks()) { rejected |= classLoaderHook.rejectTransformation(className, resultBytes, classpathEntry, entry, loader.getModuleClassLoader().getClasspathManager());
if ((hookFlags & FLAG_HOOKCALLED) != 0) { for (ClassLoaderHook classLoaderHook : container.getConfiguration().getHookRegistry().getClassLoaderHooks()) { rejected |= classLoaderHook.rejectTransformation(className, resultBytes, classpathEntry, entry, loader.getModuleClassLoader().getClasspathManager());
if ((hookFlags & FLAG_HOOKCALLED) != 0) { for (ClassLoaderHook classLoaderHook : container.getConfiguration().getHookRegistry().getClassLoaderHooks()) { rejected |= classLoaderHook.rejectTransformation(className, resultBytes, classpathEntry, entry, loader.getModuleClassLoader().getClasspathManager());
if ((hookFlags & FLAG_HOOKCALLED) != 0) { for (ClassLoaderHook classLoaderHook : container.getConfiguration().getHookRegistry().getClassLoaderHooks()) { rejected |= classLoaderHook.rejectTransformation(className, resultBytes, classpathEntry, entry, loader.getModuleClassLoader().getClasspathManager());