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

com.nfwork.dbfound.model.reflector.GetFieldInvoker Maven / Gradle / Ivy

There is a newer version: 4.3.2
Show newest version
package com.nfwork.dbfound.model.reflector;

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 - 2025 Weber Informatics LLC | Privacy Policy