public class MethodSerializer extends Serializer
| Modifier and Type | Field and Description |
|---|---|
protected int |
argCount |
protected Method |
method |
cls, descriptor, origin, uid| Modifier | Constructor and Description |
|---|---|
protected |
MethodSerializer(Method method) |
| Modifier and Type | Method and Description |
|---|---|
void |
calcSize(Object obj,
CalcSizeStream css) |
Method |
method() |
Object |
read(DataStream in) |
void |
readExternal(ObjectInput in) |
void |
skip(DataStream in) |
void |
skipExternal(ObjectInput in) |
void |
toJson(Object obj,
StringBuilder builder) |
String |
toString() |
void |
write(Object obj,
DataStream out) |
void |
writeExternal(ObjectOutput out) |
cls, code, deserialize, equals, generateUid, hashCode, persist, serialize, sizeOf, uid, uniqueNameprotected Method method
protected int argCount
protected MethodSerializer(Method method)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SerializerIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SerializerIOExceptionClassNotFoundExceptionpublic void skipExternal(ObjectInput in) throws IOException, ClassNotFoundException
skipExternal in class SerializerIOExceptionClassNotFoundExceptionpublic String toString()
toString in class Serializerpublic Method method()
public void calcSize(Object obj, CalcSizeStream css) throws NotSerializableException
calcSize in class SerializerNotSerializableExceptionpublic void write(Object obj, DataStream out) throws NotSerializableException
write in class SerializerNotSerializableExceptionpublic Object read(DataStream in) throws NotSerializableException
read in class SerializerNotSerializableExceptionpublic void skip(DataStream in) throws NotSerializableException
skip in class SerializerNotSerializableExceptionpublic void toJson(Object obj, StringBuilder builder) throws NotSerializableException
toJson in class SerializerNotSerializableExceptionCopyright © 2018. All rights reserved.