com.redhat.ceylon.compiler.java.metadata.Alias 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;
/**
* Specifies that a given class or interface is in fact an alias to
* another type
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Alias {
/**
* The aliased type signature
*/
String value();
/**
* The name of the constructor when this alias is to a class constructor
* (which is not the default constructor). Otherwise empty.
*/
String constructor() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy