public interface FieldInfo extends AnnotatedInfo, MemberInfo
ABSTRACT, CONSTANT, FINAL, PACKAGE, PACKAGE_ABSTRACT, PACKAGE_CONSTANT, PACKAGE_STATIC, PRIVATE, PRIVATE_CONSTANT, PRIVATE_STATIC, PROTECTED, PROTECTED_ABSTRACT, PROTECTED_CONSTANT, PROTECTED_STATIC, PUBLIC, PUBLIC_ABSTRACT, PUBLIC_CONSTANT, PUBLIC_STATIC, STATIC
Modifier and Type | Method and Description |
---|---|
Object |
get(Object target)
Get the value of the field
|
String |
getName()
Get the name
|
TypeInfo |
getType()
Get the field type
|
Object |
set(Object target,
Object value)
Set the value of the field
|
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
getDeclaringClass
getModifiers, isPublic, isStatic, isVolatile
String getName()
TypeInfo getType()
Object get(Object target) throws Throwable
target
- the targetThrowable
- for any errorCopyright © 2017 JBoss by Red Hat. All rights reserved.