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

com.servicerocket.confluence.randombits.support.core.param.Context Maven / Gradle / Ivy

There is a newer version: 2.5.12
Show newest version
package com.servicerocket.confluence.randombits.support.core.param;

import java.lang.annotation.*;

/**
 * Marks a parameter as providing the default value if the parameter string can't be evaluated.
 */
@Target({ElementType.PARAMETER, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Context {

    /**
     * Classes that this context value should be added to the context with.
     * All classes must superclasses or interfaces implemented by the parameter or annotation type.
     *
     * @return default value
     */
    Class[] as() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy