diff --git a/core/src/main/java/org/jboss/jandex/Type.java b/core/src/main/java/org/jboss/jandex/Type.java index ab632d98..789e2e45 100644 --- a/core/src/main/java/org/jboss/jandex/Type.java +++ b/core/src/main/java/org/jboss/jandex/Type.java @@ -272,7 +272,7 @@ public static Type createWithAnnotations(DotName name, Kind kind, AnnotationInst * PrimitiveType -> 'boolean' | 'byte' | 'short' | 'int' * | 'long' | 'float' | 'double' | 'char' * ReferenceType -> PrimitiveType ('[' ']')+ - * | ClassType ('<' TypeArgument (',' TypeArgument)* '>')? ('[' ']')* + * | ClassType ('<' TypeArgument (',' TypeArgument)* '>')? ('[' ']')* * ClassType -> FULLY_QUALIFIED_NAME * TypeArgument -> ReferenceType | WildcardType * WildcardType -> '?' | '?' ('extends' | 'super') ReferenceType