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

com.redhat.ceylon.compiler.java.metadata.AnnotationInstantiation Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
package com.redhat.ceylon.compiler.java.metadata;

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

/** 
 * Annotates an annotation constructor method
 * (i.e. adjacent to {@link Method @Method}) 
 * or the default parameter value method of an annotation constructor method 
 */
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface AnnotationInstantiation {
    /** 
     * The Java class of the annotation class or annotation constructor
     * that the annotation constructor invokes
     */
    java.lang.Class primary();
    
    /** 
     * 

A permutation of the annotation constructor parameters which produces the * argument list for the instantiation of the annotation class.

* * * * * *
-32768 int, char, boolean, float or String literal
-32767 - -1 When used as an element of * {@code @AnnotationInstantiationTree}, this points to another element of the * tree, which is the invocation whose result is this argument.
0-255 the corresponding parameter
256-511 the corresponding parameter spread
*/ short[] arguments() default {}; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy