提交 25f1c1dd 编写于 作者: K kshefov

8009880: TEST_BUG: Test java/beans/Introspector/TestTypeResolver.java should be modified again

Reviewed-by: malenkov, alexsch
上级 4653886b
/*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -30,6 +30,7 @@
import com.sun.beans.TypeResolver;
import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedType;
import java.lang.reflect.Field;
import java.lang.reflect.GenericDeclaration;
import java.lang.reflect.Method;
......@@ -199,6 +200,19 @@ public class TestTypeResolver {
public Annotation[] getDeclaredAnnotations() {
return null; // not used
}
public AnnotatedType[] getAnnotatedBounds() {
return null; // not used
}
public <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass) {
return null; // not used
}
public <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass) {
return null; // not used
}
}
private static class ClassTypeVariable extends TypeVariableImpl<Class<?>> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册