- All Superinterfaces:
AnnotatableCreator,GenericTyped,ModifiableCreator,SimpleTyped,Typed
A creator interface for parameters.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidmandated()Add the "mandated" modifier flag to this creator.voidsetType(GenericType type) Change the type of this parameter.default voidChange the type of this parameter.voidChange the type of this parameter.type()Returns the type of this parameter (notnull).Methods inherited from interface io.quarkus.gizmo2.creator.AnnotatableCreator
addAnnotation, addAnnotation, addAnnotation, addAnnotationMethods inherited from interface io.quarkus.gizmo2.GenericTyped
genericType, hasGenericTypeMethods inherited from interface io.quarkus.gizmo2.creator.ModifiableCreator
addFlag, addFlags, addFlags, final_, modifierLocation, packagePrivate, private_, protected_, public_, removeFlag, removeFlags, removeFlags, setAccess, supports, syntheticMethods inherited from interface io.quarkus.gizmo2.SimpleTyped
isPrimitive, isVoid, slotSize, typeKind
-
Method Details
-
setType
Change the type of this parameter.- Parameters:
type- the new generic type (must not benull)- Throws:
IllegalArgumentException- if the new type is different from the established type
-
setType
Change the type of this parameter.- Parameters:
type- the descriptor of the new type (must not benull)- Throws:
IllegalArgumentException- if the new type is different from the established type
-
type
ClassDesc type()Returns the type of this parameter (notnull).- Specified by:
typein interfaceSimpleTyped- Specified by:
typein interfaceTyped- Returns:
- the type of this parameter (not
null)
-
setType
Change the type of this parameter.- Parameters:
type- the new type (must not benull)
-
mandated
default void mandated()Add the "mandated" modifier flag to this creator.
-