Summary: Methods | Inherited Methods
public
static
interface
TypeDescriptor.OfField
implements
TypeDescriptor
Known indirect subclasses
| Class<T> |
Instances of the class Class represent classes and
interfaces in a running Java application.
|
An entity that has a field type descriptor. Field descriptors conforming to JVMS {@jvms 4.3.2} can be described
Summary
Public methods | |
|---|---|
abstract
F
|
arrayType()
Return a descriptor for the array type whose component type is described by this descriptor |
abstract
F
|
componentType()
If this field descriptor describes an array type, return
a descriptor for its component type, otherwise return |
abstract
boolean
|
isArray()
Does this field descriptor describe an array type? |
abstract
boolean
|
isPrimitive()
Does this field descriptor describe a primitive type (including void.) |
Inherited methods | |||
|---|---|---|---|
|
From interface
| |||
Public methods
arrayType
public abstract F arrayType ()
Return a descriptor for the array type whose component type is described by this descriptor
| Returns | |
|---|---|
F |
the descriptor for the array type |
componentType
public abstract F componentType ()
If this field descriptor describes an array type, return
a descriptor for its component type, otherwise return null.
| Returns | |
|---|---|
F |
the component type, or null if this field descriptor does
not describe an array type |
isArray
public abstract boolean isArray ()
Does this field descriptor describe an array type?
| Returns | |
|---|---|
boolean |
whether this field descriptor describes an array type |
isPrimitive
public abstract boolean isPrimitive ()
Does this field descriptor describe a primitive type (including void.)
| Returns | |
|---|---|
boolean |
whether this field descriptor describes a primitive type |