All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xapi.gwt.annotation.UserAgent Maven / Gradle / Ivy

package xapi.gwt.annotation;

import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Use this annotation on your own marker annotations, to declare that annotation
 * to be a user agent annotation, capable of participating in the generation of selection scripts.
 * 

* Be sure the only return annotation classes annotated with UserAgent in your {@link #fallbacks()}, if any. * * @author [email protected] * */ @Documented @Target(ElementType.ANNOTATION_TYPE) @Retention(RetentionPolicy.CLASS) public @interface UserAgent { String shortName(); String selectorScript(); Class[] fallbacks() default {}; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy