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

cc.voox.graphql.annotation.Directive Maven / Gradle / Ivy

The newest version!
package cc.voox.graphql.annotation;

import cc.voox.graphql.IDirective;

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

@Repeatable(value = Directives.class)
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Directive {
    Class value();
    String[] params() default {};
}

@Target({ElementType.METHOD})
@Retention( RetentionPolicy.RUNTIME )
@interface Directives {
    Directive[] value() default{};
}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy