All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.ibatis.reflection.invoker.GetFieldInvoker Maven / Gradle / Ivy

There is a newer version: 3.0-beta-10
Show newest version
package org.apache.ibatis.reflection.invoker;

import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;

public class GetFieldInvoker implements Invoker {
  private Field field;

  public GetFieldInvoker(Field field) {
    this.field = field;
  }

  public Object invoke(Object target, Object[] args) throws IllegalAccessException, InvocationTargetException {
    return field.get(target);
  }

  public Class getType() {
    return field.getType();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy