Class FieldInfo
java.lang.Object
cool.scx.reflect.FieldInfo
- All Implemented Interfaces:
AnnotatedElementInfo,MemberInfo
FieldInfo
- Version:
- 0.0.1
- Author:
- scx567888
-
Method Summary
Modifier and TypeMethodDescription元素上的注解field()booleanisFinal()是否 final 字段name()voidvoidsetAccessible(boolean flag) com.fasterxml.jackson.databind.JavaTypetype()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.reflect.AnnotatedElementInfo
allAnnotations, findAnnotation, findAnnotationFromAll, findAnnotationList, findAnnotationListFromAll
-
Method Details
-
field
-
name
-
type
public com.fasterxml.jackson.databind.JavaType type() -
set
- Throws:
IllegalAccessException
-
get
- Throws:
IllegalAccessException
-
classInfo
- Specified by:
classInfoin interfaceMemberInfo
-
accessModifier
- Specified by:
accessModifierin interfaceMemberInfo
-
setAccessible
public void setAccessible(boolean flag) - Specified by:
setAccessiblein interfaceMemberInfo
-
annotations
Description copied from interface:AnnotatedElementInfo元素上的注解- Specified by:
annotationsin interfaceAnnotatedElementInfo
-
isFinal
public boolean isFinal()是否 final 字段
-