@Target(value={METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) @InjectAnnotation public @interface RequestSelectors
If the annotated Java class member is of type String
or Object
, the selector string is injected.
Otherwise, the annotated member can be a string or one of the following primitive types: boolean
,
int
, double
. Boxed variants of the said primitives are are supported as well. Each selector is then
considered a string and parsed to the target type.
The annotated member can represent an array, or else a Collection
, a List
, or a Set
.
Selectors are then injected into the collection one by one.
Copyright © 2024 Exadel, Inc.. All rights reserved.