java.lang.Object
io.quarkus.gizmo2.TypeArgument
io.quarkus.gizmo2.TypeArgument.OfWildcard
io.quarkus.gizmo2.TypeArgument.OfUnbounded
- Enclosing class:
- TypeArgument
An unbounded wildcard type argument.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.quarkus.gizmo2.TypeArgument
TypeArgument.OfBounded, TypeArgument.OfExact, TypeArgument.OfExtends, TypeArgument.OfSuper, TypeArgument.OfTyped, TypeArgument.OfUnbounded, TypeArgument.OfWildcard -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(TypeArgument.OfUnbounded other) booleanequals(TypeArgument.OfWildcard other) Append the string representation of this type argument to the given builder, and return it.<A extends Annotation>
TypeArgument.OfUnboundedwithAnnotation(Class<A> annotationType) Returns a copy of this type argument with the given annotation.<A extends Annotation>
TypeArgument.OfUnboundedwithAnnotation(Class<A> annotationType, Consumer<AnnotationCreator<A>> builder) Returns a copy of this type argument with the given annotation.withAnnotations(Consumer<AnnotatableCreator> builder) Returns a copy of this type argument with annotations defined by the given builder.Methods inherited from class io.quarkus.gizmo2.TypeArgument.OfWildcard
equals, hashCode, hasInvisibleAnnotations, hasVisibleAnnotationsMethods inherited from class io.quarkus.gizmo2.TypeArgument
hasAnnotations, of, of, ofExact, ofExtends, ofSuper, ofUnbounded, toString
-
Method Details
-
withAnnotations
Description copied from class:TypeArgument.OfWildcardReturns a copy of this type argument with annotations defined by the given builder.- Overrides:
withAnnotationsin classTypeArgument.OfWildcard- Parameters:
builder- the annotation builder (must not benull)- Returns:
- a copy of this type argument with annotations defined by the given builder
-
withAnnotation
Description copied from class:TypeArgument.OfWildcardReturns a copy of this type argument with the given annotation.- Overrides:
withAnnotationin classTypeArgument.OfWildcard- Parameters:
annotationType- the annotation type- Returns:
- a copy of this type argument with the given annotation
-
withAnnotation
public <A extends Annotation> TypeArgument.OfUnbounded withAnnotation(Class<A> annotationType, Consumer<AnnotationCreator<A>> builder) Description copied from class:TypeArgument.OfWildcardReturns a copy of this type argument with the given annotation.- Overrides:
withAnnotationin classTypeArgument.OfWildcard- Parameters:
annotationType- the annotation typebuilder- the builder for the single annotation (must not benull)- Returns:
- a copy of this type argument with the given annotation
-
equals
- Overrides:
equalsin classTypeArgument.OfWildcard
-
equals
-
toString
Description copied from class:TypeArgumentAppend the string representation of this type argument to the given builder, and return it.- Overrides:
toStringin classTypeArgument.OfWildcard- Parameters:
b- the string builder (must not benull)- Returns:
- the same string builder (not
null)
-