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

com.github.blindpirate.annotationmagic.Extends Maven / Gradle / Ivy

There is a newer version: 0.2.5
Show newest version
package com.github.blindpirate.annotationmagic;

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

/**
 * Marks an annotation extends (inherits) another annotation.
 * Similar to class inheritance, if annotation X extends annotation Y,
 * when searching Y annotation, X annotation will also be returned.
 *
 * See the documentation on GitHub for more details.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.ANNOTATION_TYPE)
public @interface Extends {
    Class value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy