ClassNode(String name, String canonicalName, ClassInfoRepository infoBase) { E.NPE(name, infoBase); this.name = name; this.canonicalName = canonicalName; this.infoBase = infoBase; }
public LocalVariableMetaInfo(int index, String name, String type, Label start, Label end) { E.NPE(name, start, end); this.index = index; this.name = name; this.type = type; this.start = start; this.end = end; }
public MailService(String id, App app) { super(app); E.NPE(id); this.id = id; }
protected AnnotatedTypeFinder(boolean publicOnly, boolean noAbstract, Class<? extends Annotation> annoType, $.Func2<App, String, Map<Class<? extends AppByteCodeScanner>, Set<String>>> foundHandler) { E.NPE(annoType); this.annoType = annoType; this.foundHandler = foundHandler; this.noAbstract = noAbstract; this.publicOnly = publicOnly; }
public DependencyInjectionBinder(Object source, Class<T> targetClass) { super(source); E.NPE(targetClass); this.targetClass = targetClass; }
@Override public MailerContext accept(H.Format fmt) { E.NPE(fmt); this.fmt = fmt; return this; }
/** * Construct a `DbService` with service ID and the current application * @param id the service ID * @param app the current application */ public DbService(String id, App app) { super(app); E.NPE(id); this.id = id; }
public SourceInfoImpl(Source source, int line, int column) { E.NPE(source); this.source = source; this.line = line; this.column = column; }
public BindAnnoInfo binder(Class<? extends Binder> binder) { E.NPE(binder); this.binders.add(binder); return this; }
public AppConfig<T> app(App app) { E.NPE(app); this.app = app; AppConfigKey.onApp(app); return this; }
public NamedPort(String name, int port) { E.NPE(name); E.illegalArgumentIf(port < 0); this.name = name; this.port = port; }
public AsmType(Class<T> cls) { E.NPE(cls); this.cls = cls; this.type = Type.getType(cls); }
protected T locale(Locale locale) { E.NPE(locale); this.locale = locale; return me(); }
protected T templatePathResolver(TemplatePathResolver resolver) { E.NPE(resolver); templatePathResolver = resolver; return me(); }
protected DelegateRequestHandler(RequestHandler handler) { E.NPE(handler); this.handler_ = handler; this.realHandler = handler instanceof RequestHandlerBase ? ((RequestHandlerBase) handler).realHandler() : handler; }
protected T cacheService(CacheServiceProvider provider) { E.NPE(provider); this.cacheServiceProvider = provider; return me(); }
public AppClassInfoRepository(App app, ClassInfoRepository actRepository) { E.NPE(app); this.app = app; classes.putAll(actRepository.classes()); }
Segment(Label start, SenderMethodMetaInfo meta, InsnList instructions, ListIterator<AbstractInsnNode> itr, Transformer trans) { E.NPE(meta); this.startLabel = start; this.meta = meta; this.instructions = instructions; this.itr = itr; this.trans = trans; this.handlers = C.Map( AbstractInsnNode.METHOD_INSN, new InvocationHandler(this, meta) ); trans.lblList.add(start); }
private Source(File file, String className) { E.NPE(file, className); this.file = file; this.simpleName = S.afterLast(className, "."); this.packageName = S.beforeLast(className, "."); this.className = className; compilationUnit = _compilationUnit(); }
public NetworkHandler(App app) { E.NPE(app); this.app = app; this.metric = Act.metricPlugin().metric("act.http"); this.initUrlProcessors(); app.registerHotReloadListener(new App.HotReloadListener() { @Override public void preHotReload() { initUrlProcessors(); } }); }