- All Superinterfaces:
SimpleTyped,Typed
- All Known Subinterfaces:
AnonymousClassCreator,ClassCreator,FieldCreator,InstanceFieldCreator,InterfaceCreator,ParamCreator,StaticFieldCreator,TypeCreator
- All Known Implementing Classes:
TypeParameter,TypeParameter.OfConstructor,TypeParameter.OfMethod,TypeParameter.OfType
public sealed interface GenericTyped
extends SimpleTyped
permits TypeParameter, FieldCreator, ParamCreator, TypeCreator
A thing which has a generic type.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the generic type of this entity (notnull).booleanReturnstrueif this value has a generic type, orfalseif it does not have one.Methods inherited from interface io.quarkus.gizmo2.SimpleTyped
isPrimitive, isVoid, slotSize, type, typeKind
-
Method Details
-
genericType
GenericType genericType()Returns the generic type of this entity (notnull).- Returns:
- the generic type of this entity (not
null)
-
hasGenericType
boolean hasGenericType()Returnstrueif this value has a generic type, orfalseif it does not have one.- Returns:
trueif this value has a generic type, orfalseif it does not have one
-