com.alibaba.fastjson.util
类 FieldInfo
java.lang.Object
com.alibaba.fastjson.util.FieldInfo
- 所有已实现的接口:
- Comparable<FieldInfo>
public class FieldInfo
- extends Object
- implements Comparable<FieldInfo>
|
构造方法摘要 |
FieldInfo(String name,
Class<?> declaringClass,
Class<?> fieldClass,
Type fieldType,
Field field,
int ordinal,
int serialzeFeatures)
|
FieldInfo(String name,
Method method,
Field field)
|
FieldInfo(String name,
Method method,
Field field,
Class<?> clazz,
Type type)
|
FieldInfo(String name,
Method method,
Field field,
Class<?> clazz,
Type type,
int ordinal,
int serialzeFeatures)
|
FieldInfo(String name,
Method method,
Field field,
int ordinal,
int serialzeFeatures)
|
FieldInfo
public FieldInfo(String name,
Class<?> declaringClass,
Class<?> fieldClass,
Type fieldType,
Field field,
int ordinal,
int serialzeFeatures)
FieldInfo
public FieldInfo(String name,
Method method,
Field field)
FieldInfo
public FieldInfo(String name,
Method method,
Field field,
int ordinal,
int serialzeFeatures)
FieldInfo
public FieldInfo(String name,
Method method,
Field field,
Class<?> clazz,
Type type)
FieldInfo
public FieldInfo(String name,
Method method,
Field field,
Class<?> clazz,
Type type,
int ordinal,
int serialzeFeatures)
getFieldType
public static Type getFieldType(Class<?> clazz,
Type type,
Type fieldType)
getInheritGenericType
public static Type getInheritGenericType(Class<?> clazz,
TypeVariable<?> tv)
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
getDeclaringClass
public Class<?> getDeclaringClass()
getFieldClass
public Class<?> getFieldClass()
getFieldType
public Type getFieldType()
getName
public String getName()
gerQualifiedName
public String gerQualifiedName()
getMember
public Member getMember()
getMethod
public Method getMethod()
getField
public Field getField()
compareTo
public int compareTo(FieldInfo o)
- 指定者:
- 接口
Comparable<FieldInfo> 中的 compareTo
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
get
public Object get(Object javaObject)
throws IllegalAccessException,
InvocationTargetException
- 抛出:
IllegalAccessException
InvocationTargetException
set
public void set(Object javaObject,
Object value)
throws IllegalAccessException,
InvocationTargetException
- 抛出:
IllegalAccessException
InvocationTargetException
setAccessible
public void setAccessible(boolean flag)
throws SecurityException
- 抛出:
SecurityException
isGetOnly
public boolean isGetOnly()
Copyright © 2012-2015 Alibaba Group. All Rights Reserved.