Package org.nustaq.serialization
Class FSTClazzInfo
java.lang.Object
org.nustaq.serialization.FSTClazzInfo
Created with IntelliJ IDEA.
User: Möller
Date: 03.11.12
Time: 13:08
To change this template use File | Settings | File Templates.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic booleanstatic final Comparator<FSTClazzInfo.FSTFieldInfo>protected FSTClassInstantiatorstatic ConcurrentHashMap<Class,Field[]> cache + share j.reflect.Field. -
Constructor Summary
ConstructorsConstructorDescriptionFSTClazzInfo(FSTConfiguration conf, Class clazz, FSTClazzInfoRegistry infoRegistry, boolean ignoreAnnotations) -
Method Summary
Modifier and TypeMethodDescriptionprotected FSTClazzInfo.FSTFieldInfocreateFieldInfo(Field field) getAllFields(Class c, List<Field> res) byte[]final ClassgetClazz()intgetClzId()Object[]final FSTClazzInfo.FSTFieldInfo[]getFieldInfo(String name, Class declaringClass) final FSTClazzInfo.FSTFieldInfo[]getFieldInfoFiltered(Class... toRemove) intfinal Class[]final MethodgetSer()sideeffecting: if no ser is found, next lookup will return null immediateintfinal Methodbooleanbooleanfinal booleanisFlat()final ObjectnewInstance(boolean doesRequireInit) voidsetClzId(int clzId) voidsetDecoderAttached(Object decoderAttached) toString()boolean
-
Field Details
-
BufferConstructorMeta
public static boolean BufferConstructorMeta -
BufferFieldMeta
public static boolean BufferFieldMeta -
defFieldComparator
-
instantiator
-
-
Constructor Details
-
FSTClazzInfo
public FSTClazzInfo(FSTConfiguration conf, Class clazz, FSTClazzInfoRegistry infoRegistry, boolean ignoreAnnotations)
-
-
Method Details
-
getDecoderAttached
-
setDecoderAttached
-
getBufferedName
public byte[] getBufferedName() -
toString
-
isAsciiNameShortString
public boolean isAsciiNameShortString() -
getClzId
public int getClzId() -
setClzId
public void setClzId(int clzId) -
getNumBoolFields
public int getNumBoolFields() -
isExternalizable
public boolean isExternalizable() -
isFlat
public final boolean isFlat() -
getPredict
-
newInstance
-
getAllFields
-
getFieldInfo
-
getFieldInfoFiltered
-
getFieldInfo
-
getStructSize
public int getStructSize() -
useCompatibleMode
public boolean useCompatibleMode() -
createFieldInfo
-
getReadResolveMethod
-
getWriteReplaceMethod
-
getClazz
-
getEnumConstants
-
getCompInfo
-
getSer
sideeffecting: if no ser is found, next lookup will return null immediate- Returns:
-
getSerNoStore
-