Package com.esotericsoftware.reflectasm
Class FieldAccess
java.lang.Object
com.esotericsoftware.reflectasm.FieldAccess
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldAccessabstract Objectabstract booleangetBoolean(Object instance, int fieldIndex) abstract byteabstract charabstract doubleintString[]Class[]abstract floatintabstract intabstract longabstract shortabstract Stringprivate static voidinsertConstructor(org.objectweb.asm.ClassWriter cw) private static voidinsertGetObject(org.objectweb.asm.ClassWriter cw, String classNameInternal, ArrayList<Field> fields) private static voidinsertGetPrimitive(org.objectweb.asm.ClassWriter cw, String classNameInternal, ArrayList<Field> fields, org.objectweb.asm.Type primitiveType) private static voidinsertGetString(org.objectweb.asm.ClassWriter cw, String classNameInternal, ArrayList<Field> fields) private static voidinsertSetObject(org.objectweb.asm.ClassWriter cw, String classNameInternal, ArrayList<Field> fields) private static voidinsertSetPrimitive(org.objectweb.asm.ClassWriter cw, String classNameInternal, ArrayList<Field> fields, org.objectweb.asm.Type primitiveType) private static org.objectweb.asm.MethodVisitorinsertThrowExceptionForFieldNotFound(org.objectweb.asm.MethodVisitor mv) private static org.objectweb.asm.MethodVisitorinsertThrowExceptionForFieldType(org.objectweb.asm.MethodVisitor mv, String fieldType) abstract voidvoidabstract voidsetBoolean(Object instance, int fieldIndex, boolean value) abstract voidabstract voidabstract voidabstract voidabstract voidabstract voidabstract void
-
Field Details
-
fieldNames
-
fieldTypes
-
-
Constructor Details
-
FieldAccess
public FieldAccess()
-
-
Method Details
-
getIndex
-
set
-
get
-
getFieldNames
-
getFieldTypes
-
getFieldCount
public int getFieldCount() -
set
-
setBoolean
-
setByte
-
setShort
-
setInt
-
setLong
-
setDouble
-
setFloat
-
setChar
-
get
-
getString
-
getChar
-
getBoolean
-
getByte
-
getShort
-
getInt
-
getLong
-
getDouble
-
getFloat
-
get
-
insertConstructor
private static void insertConstructor(org.objectweb.asm.ClassWriter cw) -
insertSetObject
-
insertGetObject
-
insertGetString
-
insertSetPrimitive
-
insertGetPrimitive
-
insertThrowExceptionForFieldNotFound
private static org.objectweb.asm.MethodVisitor insertThrowExceptionForFieldNotFound(org.objectweb.asm.MethodVisitor mv) -
insertThrowExceptionForFieldType
private static org.objectweb.asm.MethodVisitor insertThrowExceptionForFieldType(org.objectweb.asm.MethodVisitor mv, String fieldType)
-