Code example for Field

Methods: getGenericType

0
    public String getName() {
        return field.getName();
    } 
 
    public Type getBaseType() {
        return field.getGenericType();
    } 
 
    public Field getAnnotatedElement() {
        return field;
    } 
 
    public Member getMember() {
        return field;
    } 
 
    @SuppressWarnings("unchecked") 
    public Class<V> getJavaClass() {
        return (Class<V>) field.getType();
    }