Modifier and Type | Method and Description |
---|---|
FieldInfo |
AnnotationTarget.asField()
Casts and returns this target as a
FieldInfo if it is of kind FIELD |
FieldInfo |
ClassInfo.asField() |
FieldInfo |
TypeTarget.asField() |
FieldInfo |
FieldInfo.asField() |
FieldInfo |
MethodInfo.asField() |
FieldInfo |
MethodParameterInfo.asField() |
static FieldInfo |
FieldInfo.create(ClassInfo clazz,
String name,
Type type,
short flags)
Construct a new mock Field instance.
|
FieldInfo |
ClassInfo.field(String name)
Retrieves a field by the given name.
|
Modifier and Type | Method and Description |
---|---|
List<FieldInfo> |
ClassInfo.fields()
Returns a list of all available fields.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.