add a wildcard to generic type

and slightly improve javadoc
This commit is contained in:
Gavin King 2021-12-07 23:27:51 +01:00 committed by Steve Ebersole
parent 13983e1449
commit ce3644e81d
1 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,8 @@ import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Associates an annotation with an {@link AttributeBinder}.
* Associates a user-defined annotation with an {@link AttributeBinder},
* allowing the annotation to drive some custom model binding.
*
* @author Gavin King
*/
@ -27,5 +28,5 @@ public @interface AttributeBinderType {
/**
* @return a type which implements {@link AttributeBinder}
*/
Class<? extends AttributeBinder> binder();
Class<? extends AttributeBinder<?>> binder();
}