com.redhat.ceylon.compiler.java.metadata.Module Maven / Gradle / Ivy
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;
/**
* Annotation applied to a Java class
* also annotated with {@link Attribute @Attribute} which holds a runtime
* module descriptor instance.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Module {
/** The version of the module */
public String version();
/** The name of the module */
public String name();
/** The module documentation. */
public String doc() default "";
/** The module author(s). */
public String[] by() default {};
/** The module license */
public String license() default "";
/** The module dependencies */
public Import[] dependencies() default {};
/** The module native backends. */
public String[] nativeBackends() default {};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy