public static final class FSTClazzInfo.FSTFieldInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL |
static int |
BYTE |
static int |
CHAR |
static int |
DOUBLE |
static int |
FLOAT |
static int |
INT |
static int |
LONG |
static int |
SHORT |
| Constructor and Description |
|---|
FSTClazzInfo.FSTFieldInfo(Class[] possibleClasses,
Field fi,
boolean ignoreAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
int |
align(int off) |
void |
calcIntegral() |
int |
getAlign() |
int |
getAlignPad() |
int |
getArrayDepth() |
Class |
getArrayType() |
boolean |
getBooleanValue(Object obj) |
byte[] |
getBufferedName() |
int |
getByteValue(Object obj) |
int |
getCharValue(Object obj) |
int |
getComponentStructSize() |
String |
getDesc() |
double |
getDoubleValue(Object obj) |
Field |
getField() |
float |
getFloatValue(Object obj) |
int |
getIndexId() |
static int |
getIntegralCode(Class type) |
int |
getIntegralType()
only set if is not an array, but a direct native field type
|
int |
getIntValue(Object obj) |
int |
getIntValueUnsafe(Object obj) |
FSTClazzInfo |
getLastInfo() |
long |
getLongValue(Object obj) |
long |
getLongValueUnsafe(Object obj) |
long |
getMemOffset() |
Object |
getObjectValue(Object obj)
Warning: crashes if not an object ref !
use getField().get() for a safe version ..
|
String[] |
getOneOf() |
Class[] |
getPossibleClasses() |
int |
getShortValue(Object obj) |
int |
getStructOffset() |
int |
getStructSize() |
Class |
getType() |
byte |
getVersion() |
boolean |
isArray() |
boolean |
isConditional() |
boolean |
isFlat() |
boolean |
isIntegral() |
boolean |
isIntegral(Class type) |
boolean |
isPrimitive() |
boolean |
isVolatile() |
void |
setBooleanValue(Object newObj,
boolean i1) |
void |
setBufferedName(byte[] bufferedName) |
void |
setByteValue(Object newObj,
byte b) |
void |
setCharValue(Object newObj,
char c) |
void |
setDoubleValue(Object newObj,
double l) |
void |
setFloatValue(Object newObj,
float l) |
void |
setIntValue(Object newObj,
int i1) |
void |
setLastInfo(FSTClazzInfo lastInfo) |
void |
setLongValue(Object newObj,
long i1) |
void |
setObjectValue(Object target,
Object value) |
void |
setShortValue(Object newObj,
short i1) |
void |
setStructOffset(int structOffset) |
String |
toString() |
public static final int BOOL
public static final int BYTE
public static final int CHAR
public static final int SHORT
public static final int INT
public static final int LONG
public static final int FLOAT
public static final int DOUBLE
public byte getVersion()
public byte[] getBufferedName()
public void setBufferedName(byte[] bufferedName)
public int align(int off)
public int getIndexId()
public int getStructOffset()
public void setStructOffset(int structOffset)
public String[] getOneOf()
public long getMemOffset()
public int getAlign()
public int getAlignPad()
public boolean isConditional()
public FSTClazzInfo getLastInfo()
public void setLastInfo(FSTClazzInfo lastInfo)
public boolean isVolatile()
public final Class getType()
public boolean isArray()
public int getArrayDepth()
public Class getArrayType()
public Class[] getPossibleClasses()
public Field getField()
public void calcIntegral()
public static int getIntegralCode(Class type)
public int getIntegralType()
public boolean isIntegral(Class type)
public boolean isIntegral()
public String getDesc()
public boolean isFlat()
public int getComponentStructSize()
public int getStructSize()
public boolean isPrimitive()
public final int getByteValue(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final int getCharValue(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final int getShortValue(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final int getIntValueUnsafe(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final long getLongValueUnsafe(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final boolean getBooleanValue(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final Object getObjectValue(Object obj) throws IllegalAccessException
obj - IllegalAccessExceptionpublic final float getFloatValue(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final void setCharValue(Object newObj, char c) throws IllegalAccessException
IllegalAccessExceptionpublic final void setShortValue(Object newObj, short i1) throws IllegalAccessException
IllegalAccessExceptionpublic final void setObjectValue(Object target, Object value) throws IllegalAccessException
IllegalAccessExceptionpublic final void setFloatValue(Object newObj, float l) throws IllegalAccessException
IllegalAccessExceptionpublic final void setDoubleValue(Object newObj, double l) throws IllegalAccessException
IllegalAccessExceptionpublic final void setLongValue(Object newObj, long i1) throws IllegalAccessException
IllegalAccessExceptionpublic final long getLongValue(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final double getDoubleValue(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final void setIntValue(Object newObj, int i1) throws IllegalAccessException
IllegalAccessExceptionpublic final int getIntValue(Object obj) throws IllegalAccessException
IllegalAccessExceptionpublic final void setBooleanValue(Object newObj, boolean i1) throws IllegalAccessException
IllegalAccessExceptionpublic final void setByteValue(Object newObj, byte b) throws IllegalAccessException
IllegalAccessExceptionCopyright © 2014. All rights reserved.