public ModuleSystem getModuleSystem() { return helperManager.getModuleSystem(); }
public long getObjectSize(Object o) { return helperManager.getObjectSize(o); } }
/** * method called when the rule has been successfully injected into a class, type checked and compiled. it passes * the message on to the Transformer so it can perform helper lifecycle management. */ public void installed() { helperManager.installed(this); }
details = getDetails(helperClass, false, null); if (details == null) { Helper.err("HelperManager.uninstalled : shouldn't happen! uninstall failed to locate helper details for " + helperClass.getName()); purgeDetails(details); uninstalled(rule, details.lifecycleClass);
parentDetails = installed(rule, superClass); LifecycleDetails details = getDetails(helperClass, true, parentDetails); if (details.installCount == 0 && details.activated != null) { Helper.verbose("calling activated() for helper class " + helperClass.getName());
public RuleCheck() { ruleTexts = new ArrayList<String>(); ruleFiles = new ArrayList<String>(); packages = new LinkedList<String>(); result = new RuleCheckResult(); output = null; verbose = false; helperManager = new HelperManager(null, new RuleCheckModuleSystem()); accessEnabler = AccessManager.init(null); }
/** * method called when the rule has been uninstalled after previously being successfully injected into a class, * type checked and compiled. it passes the message on to the Transformer so it can perform helper lifecycle * management. */ public void uninstalled() { helperManager.uninstalled(this); }
if (details == null && createIfAbsent) { details = new LifecycleDetails(helperClass, parent); details.activated = lookupLifecycleMethod(helperClass, ACTIVATED_NAME, ACTIVATED_SIGNATURE); details.deactivated = lookupLifecycleMethod(helperClass, DEACTIVATED_NAME, DEACTIVATED_SIGNATURE); details.installed = lookupLifecycleMethod(helperClass, INSTALLED_NAME, INSTALLED_RULE_SIGNATURE); details.uninstalled = lookupLifecycleMethod(helperClass, UNINSTALLED_NAME, UNINSTALLED_RULE_SIGNATURE); details.installed = lookupLifecycleMethod(helperClass, INSTALLED_NAME, INSTALLED_STRING_SIGNATURE); details.uninstalledTakesRule = true; } else { details.uninstalled = lookupLifecycleMethod(helperClass, UNINSTALLED_NAME, UNINSTALLED_STRING_SIGNATURE);
details = getDetails(helperClass, false, null); if (details == null) { Helper.err("HelperManager.uninstalled : shouldn't happen! uninstall failed to locate helper details for " + helperClass.getName()); purgeDetails(details); uninstalled(rule, details.lifecycleClass);
parentDetails = installed(rule, superClass); LifecycleDetails details = getDetails(helperClass, true, parentDetails); if (details.installCount == 0 && details.activated != null) { Helper.verbose("calling activated() for helper class " + helperClass.getName());
public RuleCheck() { ruleTexts = new ArrayList<String>(); ruleFiles = new ArrayList<String>(); packages = new LinkedList<String>(); result = new RuleCheckResult(); output = null; verbose = false; helperManager = new HelperManager(null, new RuleCheckModuleSystem()); accessEnabler = AccessManager.init(null); }
/** * method called when the rule has been uninstalled after previously being successfully injected into a class, * type checked and compiled. it passes the message on to the Transformer so it can perform helper lifecycle * management. */ public void uninstalled() { helperManager.uninstalled(this); }
if (details == null && createIfAbsent) { details = new LifecycleDetails(helperClass, parent); details.activated = lookupLifecycleMethod(helperClass, ACTIVATED_NAME, ACTIVATED_SIGNATURE); details.deactivated = lookupLifecycleMethod(helperClass, DEACTIVATED_NAME, DEACTIVATED_SIGNATURE); details.installed = lookupLifecycleMethod(helperClass, INSTALLED_NAME, INSTALLED_RULE_SIGNATURE); details.uninstalled = lookupLifecycleMethod(helperClass, UNINSTALLED_NAME, UNINSTALLED_RULE_SIGNATURE); details.installed = lookupLifecycleMethod(helperClass, INSTALLED_NAME, INSTALLED_STRING_SIGNATURE); details.uninstalledTakesRule = true; } else { details.uninstalled = lookupLifecycleMethod(helperClass, UNINSTALLED_NAME, UNINSTALLED_STRING_SIGNATURE);
scriptRepository = new ScriptRepository(skipOverrideRules); checkerCache = new CheckerCache(); helperManager = new HelperManager(inst, moduleSystem);
Helper.verbose("HelperManager.uninstall for helper class " + helperClass.getName()); uninstalled(rule, helperClass);
/** * method called when the rule has been successfully injected into a class, type checked and compiled. it passes * the message on to the Transformer so it can perform helper lifecycle management. */ public void installed() { helperManager.installed(this); }
public ModuleSystem getModuleSystem() { return helperManager.getModuleSystem(); }
public long getObjectSize(Object o) { return helperManager.getObjectSize(o); } }
scriptRepository = new ScriptRepository(skipOverrideRules); checkerCache = new CheckerCache(); helperManager = new HelperManager(inst, moduleSystem);
Helper.verbose("HelperManager.uninstall for helper class " + helperClass.getName()); uninstalled(rule, helperClass);