/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 273 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 274 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 289 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 348 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 357 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 384 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 385 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 388 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 391 return annotationClass.cast(annotation); in getDeclaredAnnotation() 442 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 257 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 258 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 273 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 332 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 341 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 368 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 369 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 372 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 375 return annotationClass.cast(annotation); in getDeclaredAnnotation() 426 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 273 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 274 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 289 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 348 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 357 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 384 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 385 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 388 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 391 return annotationClass.cast(annotation); in getDeclaredAnnotation() 442 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 291 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 292 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 307 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 366 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 375 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 402 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 403 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 406 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 409 return annotationClass.cast(annotation); in getDeclaredAnnotation() 460 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 291 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 292 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 307 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 366 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 375 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 402 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 403 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 406 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 409 return annotationClass.cast(annotation); in getDeclaredAnnotation() 460 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 273 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 274 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 289 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 348 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 357 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 384 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 385 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 388 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 391 return annotationClass.cast(annotation); in getDeclaredAnnotation() 442 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 273 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 274 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 289 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 348 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 357 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 384 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 385 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 388 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 391 return annotationClass.cast(annotation); in getDeclaredAnnotation() 442 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 291 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 292 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 307 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 366 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 375 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 402 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 403 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 406 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 409 return annotationClass.cast(annotation); in getDeclaredAnnotation() 460 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 273 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 274 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 289 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 348 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 357 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 384 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 385 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 388 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 391 return annotationClass.cast(annotation); in getDeclaredAnnotation() 442 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/lang/reflect/ |
H A D | AnnotatedElement.java | 257 default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument 258 return getAnnotation(annotationClass) != null; in isAnnotationPresent() 273 <T extends Annotation> T getAnnotation(Class<T> annotationClass); in getAnnotation() argument 332 T[] result = getDeclaredAnnotationsByType(annotationClass); in getAnnotationsByType() 341 result = superClass.getAnnotationsByType(annotationClass); in getAnnotationsByType() 368 default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass) { in getDeclaredAnnotation() argument 369 Objects.requireNonNull(annotationClass); in getDeclaredAnnotation() 372 if (annotationClass.equals(annotation.annotationType())) { in getDeclaredAnnotation() 375 return annotationClass.cast(annotation); in getDeclaredAnnotation() 426 Objects.requireNonNull(annotationClass); in getDeclaredAnnotationsByType() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 112 return annotationClass.getDeclaredMethods(); in AnnotationType() 141 if (annotationClass != Retention.class && in AnnotationType() 142 annotationClass != Inherited.class) { in AnnotationType() 146 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 147 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 112 return annotationClass.getDeclaredMethods(); in AnnotationType() 141 if (annotationClass != Retention.class && in AnnotationType() 142 annotationClass != Inherited.class) { in AnnotationType() 146 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 147 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 112 return annotationClass.getDeclaredMethods(); in AnnotationType() 141 if (annotationClass != Retention.class && in AnnotationType() 142 annotationClass != Inherited.class) { in AnnotationType() 146 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 147 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 112 return annotationClass.getDeclaredMethods(); in AnnotationType() 141 if (annotationClass != Retention.class && in AnnotationType() 142 annotationClass != Inherited.class) { in AnnotationType() 146 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 147 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 112 return annotationClass.getDeclaredMethods(); in AnnotationType() 141 if (annotationClass != Retention.class && in AnnotationType() 142 annotationClass != Inherited.class) { in AnnotationType() 146 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 147 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 113 return annotationClass.getDeclaredMethods(); in AnnotationType() 142 if (annotationClass != Retention.class && in AnnotationType() 143 annotationClass != Inherited.class) { in AnnotationType() 147 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 148 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 112 return annotationClass.getDeclaredMethods(); in AnnotationType() 141 if (annotationClass != Retention.class && in AnnotationType() 142 annotationClass != Inherited.class) { in AnnotationType() 146 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 147 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 112 return annotationClass.getDeclaredMethods(); in AnnotationType() 141 if (annotationClass != Retention.class && in AnnotationType() 142 annotationClass != Inherited.class) { in AnnotationType() 146 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 147 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 112 return annotationClass.getDeclaredMethods(); in AnnotationType() 141 if (annotationClass != Retention.class && in AnnotationType() 142 annotationClass != Inherited.class) { in AnnotationType() 146 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 147 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/reflect/annotation/ |
H A D | AnnotationType.java | 80 Class<? extends Annotation> annotationClass) in getInstance() argument 85 result = new AnnotationType(annotationClass); in getInstance() 87 if (!jla.casAnnotationType(annotationClass, null, result)) { in getInstance() 89 result = jla.getAnnotationType(annotationClass); in getInstance() 105 if (!annotationClass.isAnnotation()) in AnnotationType() 112 return annotationClass.getDeclaredMethods(); in AnnotationType() 141 if (annotationClass != Retention.class && in AnnotationType() 142 annotationClass != Inherited.class) { in AnnotationType() 146 jla.getRawClassAnnotations(annotationClass), in AnnotationType() 147 jla.getConstantPool(annotationClass), in AnnotationType() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/reflect/AnnotatedElement/ |
H A D | TestAnnotatedElementDefaults.java | 273 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() argument 274 return base.getAnnotation(annotationClass); in getAnnotation() 292 Class<? extends Annotation> annotationClass) { in testDelegate() argument 301 annotationClass, in testDelegate() 305 failures += annotationArrayCheck(delegate.getAnnotationsByType(annotationClass), in testDelegate() 306 base.getAnnotationsByType(annotationClass), in testDelegate() 307 annotationClass, in testDelegate() 311 if (!Objects.equals(delegate.getDeclaredAnnotation(annotationClass), in testDelegate() 312 base.getDeclaredAnnotation(annotationClass))) { in testDelegate() 315 annotationClass, delegate); in testDelegate() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/lang/reflect/AnnotatedElement/ |
H A D | TestAnnotatedElementDefaults.java | 273 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() argument 274 return base.getAnnotation(annotationClass); in getAnnotation() 292 Class<? extends Annotation> annotationClass) { in testDelegate() argument 301 annotationClass, in testDelegate() 305 failures += annotationArrayCheck(delegate.getAnnotationsByType(annotationClass), in testDelegate() 306 base.getAnnotationsByType(annotationClass), in testDelegate() 307 annotationClass, in testDelegate() 311 if (!Objects.equals(delegate.getDeclaredAnnotation(annotationClass), in testDelegate() 312 base.getDeclaredAnnotation(annotationClass))) { in testDelegate() 315 annotationClass, delegate); in testDelegate() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/reflect/AnnotatedElement/ |
H A D | TestAnnotatedElementDefaults.java | 273 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() argument 274 return base.getAnnotation(annotationClass); in getAnnotation() 292 Class<? extends Annotation> annotationClass) { in testDelegate() argument 301 annotationClass, in testDelegate() 305 failures += annotationArrayCheck(delegate.getAnnotationsByType(annotationClass), in testDelegate() 306 base.getAnnotationsByType(annotationClass), in testDelegate() 307 annotationClass, in testDelegate() 311 if (!Objects.equals(delegate.getDeclaredAnnotation(annotationClass), in testDelegate() 312 base.getDeclaredAnnotation(annotationClass))) { in testDelegate() 315 annotationClass, delegate); in testDelegate() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/lang/reflect/AnnotatedElement/ |
H A D | TestAnnotatedElementDefaults.java | 273 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() argument 274 return base.getAnnotation(annotationClass); in getAnnotation() 292 Class<? extends Annotation> annotationClass) { in testDelegate() argument 301 annotationClass, in testDelegate() 305 failures += annotationArrayCheck(delegate.getAnnotationsByType(annotationClass), in testDelegate() 306 base.getAnnotationsByType(annotationClass), in testDelegate() 307 annotationClass, in testDelegate() 311 if (!Objects.equals(delegate.getDeclaredAnnotation(annotationClass), in testDelegate() 312 base.getDeclaredAnnotation(annotationClass))) { in testDelegate() 315 annotationClass, delegate); in testDelegate() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/lang/reflect/AnnotatedElement/ |
H A D | TestAnnotatedElementDefaults.java | 273 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() argument 274 return base.getAnnotation(annotationClass); in getAnnotation() 292 Class<? extends Annotation> annotationClass) { in testDelegate() argument 301 annotationClass, in testDelegate() 305 failures += annotationArrayCheck(delegate.getAnnotationsByType(annotationClass), in testDelegate() 306 base.getAnnotationsByType(annotationClass), in testDelegate() 307 annotationClass, in testDelegate() 311 if (!Objects.equals(delegate.getDeclaredAnnotation(annotationClass), in testDelegate() 312 base.getDeclaredAnnotation(annotationClass))) { in testDelegate() 315 annotationClass, delegate); in testDelegate() [all …]
|