scalan.External Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common_2.12 Show documentation
Show all versions of common_2.12 Show documentation
Compiling Scala to Something special
The newest version!
package scalan;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/** Relate annotated element with an external type or method given by `value` property.
* For example WOption related to Option is annotated as @External("Option")
* This annotation is used to separate wrapper Entity from user defined virtualized Entity.
* See WrapperEntity object. */
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface External {
String value() default ""; // default value interpreted as "external name is equal to annotated element name"
}