net.java.html.lib.angular.IControllerProvider Maven / Gradle / Ivy
package net.java.html.lib.angular;
public class IControllerProvider extends IServiceProvider {
protected IControllerProvider(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(IControllerProvider.class);
}
@Override
public IControllerProvider create(java.lang.Object obj) {
return obj == null ? null : new IControllerProvider(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static IControllerProvider $as(java.lang.Object obj) {
return $AS.create(obj);
}
public void allowGlobals() {
$Typings$.allowGlobals$125($js(this));
}
public void register(java.lang.String name, java.lang.Object[] dependencyAnnotatedConstructor) {
$Typings$.register$126($js(this), name, /* ArrayType*/$js(dependencyAnnotatedConstructor));
}
public void register(java.lang.String name, net.java.html.lib.Function controllerConstructor) {
$Typings$.register$127($js(this), name, /* FirstTypeNode*/$js(controllerConstructor));
}
}