Community
Participate
Working Groups
I200412210800 class X { void m() { X.class.//Ctrl+Space } } Content Assist for "<U> Class<? extends U> asSubclass(Class<U> clazz)": - misses argument name and type argument (shows "asSubclass(Class arg0) Class - Class") - does not show javadoc Also doesn't work for isAssignableFrom(Class<?> cls) and isAnnotationPresent(..).
In I20050818-0800, asSubclass(..) works fine, but isAnnotationPresent(..) still fails (probably due to bug 88023).
works for me in N20060418
N20060418-0010 Added note about isAnnotationPresent(..) to bug 88023. The Javadoc hover and the content assist info are still not shown for Class#getAnnotation(Class<A>) if Javadoc attachments are disabled. The reason for this is probably that JavadocContentAccess.findDocInHierarchy(..) uses JavaModelUtil.findMethod(..), which fails to find AnnotatedElement#getAnnotation(Class<T>) because the type parameter has a different name in the supertype. MethodOverrideTester should be able to find the overridden method.
fixed > 20060425
verifying
verified