F
- the class implementing TypeDescriptor.OfFieldTypeDescriptor
ClassDesc
Class
public static interface TypeDescriptor.OfField<F extends TypeDescriptor.OfField<F>> extends TypeDescriptor
TypeDescriptor.OfField<F extends TypeDescriptor.OfField<F>>, TypeDescriptor.OfMethod<F extends TypeDescriptor.OfField<F>,M extends TypeDescriptor.OfMethod<F,M>>
Modifier and Type | Method | Description |
---|---|---|
F |
arrayType() |
Return a descriptor for the array type whose component type is described by this
descriptor
|
F |
componentType() |
If this field descriptor describes an array type, return
a descriptor for its component type, otherwise return
null . |
boolean |
isArray() |
Does this field descriptor describe an array type?
|
boolean |
isPrimitive() |
Does this field descriptor describe a primitive type?
|
descriptorString
boolean isArray()
boolean isPrimitive()
F componentType()
null
.null
if this field descriptor does
not describe an array typeF arrayType()