com.google.gwt.angular.client.NgInject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of angulargwt Show documentation
Show all versions of angulargwt Show documentation
AngularJS integration for GWT
package com.google.gwt.angular.client;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Used to teach the code generators the associated name for a given type. So for example,
* if you are trying to inject type T, this annotation will give its name. If basetype is specified,
* this name will apply to all subtypes of T as well.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface NgInject {
String name();
Class> basetype() default ExactMatchOnly.class;
static final class ExactMatchOnly {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy