< prev index next >

src/java.base/share/classes/sun/reflect/annotation/AnnotationType.java

Print this page

        

*** 71,81 **** private final boolean inherited; /** * Returns an AnnotationType instance for the specified annotation type. * ! * @throw IllegalArgumentException if the specified class object for * does not represent a valid annotation type */ public static AnnotationType getInstance( Class<? extends Annotation> annotationClass) { --- 71,81 ---- private final boolean inherited; /** * Returns an AnnotationType instance for the specified annotation type. * ! * @throws IllegalArgumentException if the specified class object * does not represent a valid annotation type */ public static AnnotationType getInstance( Class<? extends Annotation> annotationClass) {
*** 181,207 **** return type; } /** * Returns member types for this annotation type ! * (member name -> type mapping). */ public Map<String, Class<?>> memberTypes() { return memberTypes; } /** * Returns members of this annotation type ! * (member name -> associated Method object mapping). */ public Map<String, Method> members() { return members; } /** * Returns the default values for this annotation type ! * (Member name -> default value mapping). */ public Map<String, Object> memberDefaults() { return memberDefaults; } --- 181,207 ---- return type; } /** * Returns member types for this annotation type ! * (member name {@literal ->} type mapping). */ public Map<String, Class<?>> memberTypes() { return memberTypes; } /** * Returns members of this annotation type ! * (member name {@literal ->} associated Method object mapping). */ public Map<String, Method> members() { return members; } /** * Returns the default values for this annotation type ! * (Member name {@literal ->} default value mapping). */ public Map<String, Object> memberDefaults() { return memberDefaults; }
< prev index next >