Java com.badlogic.gdx.utils.reflect Field fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.utils.reflect Field fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.utils.reflect Field.

The text is from its open source code.

Method

Objectget(Object obj)
Returns the value of the field on the supplied object.
AnnotationgetDeclaredAnnotation(Class annotationType)
Returns an Annotation object reflecting the annotation provided, or null of this field doesn't have such an annotation.
ClassgetDeclaringClass()
Returns the Class object representing the class or interface that declares the field.
ClassgetElementType(int index)
If the type of the field is parameterized, returns the Class object representing the parameter type at the specified index, null otherwise.
StringgetName()
Returns the name of the field.
ClassgetType()
Returns a Class object that identifies the declared type for the field.
booleanisAccessible()
booleanisAnnotationPresent(Class annotationType)
Returns true if the field includes an annotation of the provided class type.
booleanisFinal()
Return true if the field includes the final modifier.
booleanisStatic()
Return true if the field includes the static modifier.
booleanisSynthetic()
Return true if the field is a synthetic field.
booleanisTransient()
Return true if the field includes the transient modifier.
voidset(Object obj, Object value)
Sets the value of the field on the supplied object.
voidsetAccessible(boolean accessible)