- All Superinterfaces:
MemberDesc,SimpleTyped,Typed
A descriptor for a field.
-
Method Summary
Methods inherited from interface io.quarkus.gizmo2.desc.MemberDesc
name, owner, toStringMethods inherited from interface io.quarkus.gizmo2.SimpleTyped
isPrimitive, isVoid, slotSize, typeKind
-
Method Details
-
of
Construct a new instance.- Parameters:
owner- the descriptor of the class which contains the field (must not benull)name- the name of the field (must not benull)type- the descriptor of the field type (must not benull)- Returns:
- the field descriptor (not
null)
-
of
Construct a new instance.- Parameters:
owner- the descriptor of the class which contains the field (must not benull)name- the name of the field (must not benull)type- the field type (must not benull)- Returns:
- the field descriptor (not
null)
-
of
Construct a new instance.- Parameters:
owner- the class which contains the field (must not benull)name- the name of the field (must not benull)- Returns:
- the field descriptor (not
null)
-
of
Returns a field descriptor for the given field.- Parameters:
field- the field (must not benull)- Returns:
- a field descriptor for the given field
-
type
ClassDesc type()Returns the descriptor of the field type.- Specified by:
typein interfaceMemberDesc- Specified by:
typein interfaceSimpleTyped- Specified by:
typein interfaceTyped- Returns:
- the descriptor of the field type
-