/** * Initializes this object with the given arguments. * * @param args the arguments to be used to initialize this object. The format * of these arguments depends on the class of this object. * @throws Exception if a problem occurs during the object initialization. */ public void initialize (final Tree args) throws Exception { Tree t = args.getValue("use-context-class-loader"); if (t != null && t.equals("true")) { useContextClassLoader = true; } }
/** * Initializes this object with the given arguments. * * @param args the arguments to be used to initialize this object. The format * of these arguments depends on the class of this object. * @throws Exception if a problem occurs during the object initialization. */ public void initialize (final Tree args) throws Exception { Tree t = args.getValue("use-context-class-loader"); if (t != null && t.equals("true")) { useContextClassLoader = true; } }
/** * Initializes this object with the given arguments. * * @param args * the arguments to be used to initialize this object. The format * of these arguments depends on the class of this object. * @throws Exception * if a problem occurs during the object initialization. */ public void initialize(final Tree args) throws Exception { Tree t = args.getValue("use-context-class-loader"); if (t != null && t.equals("true")) { useContextClassLoader = true; } }
Generated gen = (Generated) c.newInstance(); if (gen != null && classDescriptor.equals(gen .getFcGeneratorParameters())) { return c;
public void initialize (final Tree args) throws Exception { _super_initialize(args); for (int i = 0; i < args.getSize(); ++i) { Tree arg = args.getSubTree(i); if (arg.getSize() == 2 && arg.getSubTree(0).equals("monolog-conf-file")) { String monologConfFile = arg.getSubTree(1).toString(); if (Monolog.monologFactory == Monolog.getDefaultMonologFactory()) { Monolog.getMonologFactory(monologConfFile); } } } }
public void initialize (final Tree args) throws Exception { _super_initialize(args); for (int i = 0; i < args.getSize(); ++i) { Tree arg = args.getSubTree(i); if (arg.getSize() == 2 && arg.getSubTree(0).equals("monolog-conf-file")) { String monologConfFile = arg.getSubTree(1).toString(); if (Monolog.monologFactory == Monolog.getDefaultMonologFactory()) { Monolog.getMonologFactory(monologConfFile); } } } }