package test2;

public class Main {

	public static void main(String[] args) throws Exception{

		IFoo foo = (IFoo)AnnotationProxy.newInstance(new Foo());
		foo.doSomething();
		
		System.out.println("END");

//		Class clazz = Foo.class;
//		Log log = clazz.getMethod("doSomething", new Class[0]).getAnnotation(Log.class);
//		System.out.println(log);
//		System.out.println(log.value());
	}	
	
}
