com.github.blindpirate.annotationmagic.CompositeOf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annotation-magic Show documentation
Show all versions of annotation-magic Show documentation
Empower your Java annotations with magic.
package com.github.blindpirate.annotationmagic;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Create a "composite" annotation to simplify annotation piling up.
*
* See the documentation on GitHub for more details.
*/
@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface CompositeOf {
Class>[] value();
}