net.java.html.lib.angular.ng.IControllerProvider Maven / Gradle / Ivy
package net.java.html.lib.angular.ng;
public class IControllerProvider extends net.java.html.lib.angular.ng.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$155($js(this));
}
public void register(java.lang.String name, java.lang.Object[] dependencyAnnotatedConstructor) {
$Typings$.register$156($js(this), name, /* ArrayType*/$js(dependencyAnnotatedConstructor));
}
public void register(java.lang.String name, net.java.html.lib.Function controllerConstructor) {
$Typings$.register$157($js(this), name, /* FirstTypeNode*/$js(controllerConstructor));
}
}