Annotation Interface AlwaysByReference
@Target(TYPE)
@Retention(SOURCE)
@Repeatable(AlwaysByReferenceRepeated.class)
public @interface AlwaysByReference
Annotation configuring a type as a by reference parameter in the whole annotated compilation
unit. For classes that have many methods using
ByReference parameters, using this
annotation is more convenient. Instead of overriding these methods and specifying
ByReference in each method, the whole class can be annotated with
AlwaysByReference. It is always possible to override AlwaysByReference
configuration with ByReference annotation on a particular method or parameter.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<?> The class to instantiate for a foreign handle.Class<?> Method parameter or return type that should always be handled as aByReferencein the annotated compilation unit.
-
Element Details
-
type
Class<?> typeMethod parameter or return type that should always be handled as aByReferencein the annotated compilation unit.- See Also:
-
startPointClass
-