- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for findAnnotationValueWithDefaults (0.87 sec)
-
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java
AnnotationMirror deprecation = AnnotationUtils.findAnnotationValueWithDefaults(elements, annotation, "deprecation") .map(v -> (AnnotationMirror) v.getValue()) .orElseThrow(() -> new AnnotationReadFailure(String.format("Missing 'deprecation' attribute in @%s", ReplacesEagerProperty.class.getSimpleName()))); boolean enabled = AnnotationUtils.findAnnotationValueWithDefaults(elements, deprecation, "enabled")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 24.6K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationUtils.java
} public static Optional<? extends AnnotationValue> findAnnotationValueWithDefaults(Elements elements, AnnotationMirror annotation, String key) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 08:22:43 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AddGeneratedClassNameFlagFromClassLevelAnnotation.java
AnnotationValue interceptionType = AnnotationUtils.findAnnotationValueWithDefaults(elements, annotationMirror, "type") .orElseThrow(() -> new IllegalStateException("Annotation " + generatedClassNameProvidingAnnotation + " does not have a type attribute"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 13:39:36 UTC 2023 - 5.1K bytes - Viewed (0)