package com.logicbig.example.field;
import java.lang.reflect.Field;
public class GetTypeExample {
private int anInt;
public static void main(String... args) throws NoSuchFieldException {
Field f = GetTypeExample.class.getDeclaredField("anInt");
Class<?> type = f.getType();
System.out.println(type);
}
}