public void updateField ( Field field ) { this . name = field . getName ( ) ; this . obj = TypeCheckUtil . isObjClass ( field ) ; this . list = TypeCheckUtil . isListClass ( field ) ; this . number = TypeCheckUtil . isNumberClass ( field ) ; this . enumType = field . getType ( ) . isEnum ( ) ; this . typeClass = field . getType ( ) ; this . type = field . getType ( ) . getSimpleName ( ) ; if ( this . list ) { this . innerClass = ValidationObjUtil . getListInnerClassFromGenericType ( field . getGenericType ( ) ) ; this . type += "<" + this . innerClass . getSimpleName ( ) + ">" ; } }
Update field .