com.redhat.ceylon.compiler.java.metadata.LocalContainer 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 for local interfaces that we've pulled to toplevel but should be local.
*
* @author Stéphane Épardaud
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface LocalContainer {
/**
* The path from the current package to the container of this local interface. The elements
* are names of Ceylon declarations.
*/
String[] path();
/**
* The Java class name of the companion class, relative to the nearest Java class container of this
* local interface (after we've put it back where it belongs in the model).
*/
String companionClassName() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy