saker.nest Documentation TaskDoc JavaDoc Packages
Annotation for referencing an used type in regards of scripting information.

This annotation cannot be used to directly annotate elements, but only by other information annotations to reference other types.

As the Java annotation facility doesn't allow nesting annotations of the same type, this annotation needed to be introduced in order to reference different types.

The annotation can be used to override the kind() and elementTypes() of the referenced type.

Methods
public Class<?>[]
elementTypes() default saker.nest.scriptinfo.reflection.annot.TypeUnspecified.class
Specifies the element types of the referenced type.
public String
kind() default ""
Specifies the kind of the type that is referenced.
public Class<?>
Specifies the referenced type.
public abstract Class<?>[] elementTypes() default saker.nest.scriptinfo.reflection.annot.TypeUnspecified.class
Specifies the element types of the referenced type.

This will override the element types in NestTypeInformation.elementTypes() if specified.

The element types.
public abstract String kind() default ""
Specifies the kind of the type that is referenced.

This will override the kind in NestTypeInformation.kind() if specified.

The kind.
public abstract Class<?> value()
Specifies the referenced type.
The type that is referenced.