Annotation Type MapTo


@Retention(RUNTIME) @Target(PARAMETER) public @interface MapTo
Used to specify a polymorphic return type as a parameter on a query method. The annotated parameter may be a Type (including Class), or GenericType. Support for QualifiedType arguments is currently in beta.