class XFieldGetter implements XGetter {

    /**
     * field
     */
    private Field field;

    public XFieldGetter(Field field) {
        this.field = field;
        this.field.setAccessible(true);
    }

    /**
     * @see XGetter#getType()
     */
    public Class<?> getType() {
        return field.getType();
    }

    /**
     * @see XGetter#getValue(Object)
     */
    public Object getValue(Object instance) throws Exception {<FILL_FUNCTION_BODY>}

}

        if (instance == null) {
            return null;
        }
        return field.get(instance);
    
<no_super_class>