diff --git a/test/java/beans/Introspector/TestTypeResolver.java b/test/java/beans/Introspector/TestTypeResolver.java index 0e03782213a7875d518c1ac68d3833e93ab1eea9..6704d8f7e168aa2762f7f167ac4a4819fca06b95 100644 --- a/test/java/beans/Introspector/TestTypeResolver.java +++ b/test/java/beans/Introspector/TestTypeResolver.java @@ -29,6 +29,7 @@ import com.sun.beans.TypeResolver; +import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.lang.reflect.GenericDeclaration; import java.lang.reflect.Method; @@ -170,6 +171,22 @@ public class TestTypeResolver { public int hashCode() { return hash(name) ^ hash(gd) ^ Arrays.hashCode(bounds); } + + public boolean isAnnotationPresent(Class annotationClass) { + return false; // not used + } + + public T getAnnotation(Class annotationClass) { + return null; // not used + } + + public Annotation[] getAnnotations() { + return null; // not used + } + + public Annotation[] getDeclaredAnnotations() { + return null; // not used + } } private static class ClassTypeVariable extends TypeVariableImpl> {