We need this to emulate isAnnotationPresent(), etc.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@241
30ef5769-5b8d-40dd-aea6-
55b5d6557bb3
import java.lang.reflect.*;
-class AnnotationImpl implements InvocationHandler {
+public class AnnotationImpl implements InvocationHandler {
private Annotation annotation;
private ClassPool pool;
private ClassLoader classLoader;
classLoader = loader;
}
+ public String getTypeName()
+ {
+ return annotation.getTypeName();
+ }
+
public Object invoke(Object proxy, Method method, Object[] args)
throws Throwable
{