- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 81 for SetAnnotation (3.1 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadata.java
public void visitValidationFailures(TypeValidationContext validationContext) { validationProblems.replay(null, validationContext); } @Override public <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType) { return Optional.ofNullable(Cast.uncheckedCast(annotations.get(annotationType))); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:21 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidateAction.java
// Won't validate interfaces return; } if (!cacheable && topLevelBean.getAnnotation(DisableCachingByDefault.class) == null && topLevelBean.getAnnotation(UntrackedTask.class) == null ) { boolean isTask = Task.class.isAssignableFrom(topLevelBean);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 09:10:37 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/IgnoredTestDescriptorProvider.java
*/ @SuppressWarnings("deprecation") static Runner getRunnerLegacy(Class<?> testClass) throws Throwable { RunWith annotation = testClass.getAnnotation(RunWith.class); if (annotation != null) { Class<? extends Runner> runnerClass = annotation.value(); try { return runnerClass.getConstructor(Class.class).newInstance(testClass);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/exceptions/ContextAwareException.java
} } @Nullable private Throwable findNearestContextual(@Nullable Throwable t) { if (t == null) { return null; } if (t.getClass().getAnnotation(Contextual.class) != null || t instanceof MultiCauseException) { return t; } return findNearestContextual(t.getCause()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 13:32:53 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultPropertyAnnotationMetadata.java
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotationsByType.containsKey(annotationType); } @Override public <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType) { return Optional.ofNullable(Cast.uncheckedCast(annotationsByType.get(annotationType))); } @Override public ImmutableMap<AnnotationCategory, Annotation> getAnnotations() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/TransformedModelDslBacking.java
} })); } public static boolean isTransformedBlock(Closure<?> closure) { Class<?> closureClass = closure.getClass(); RulesBlock annotation = closureClass.getAnnotation(RulesBlock.class); return annotation != null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ClassGenerator.java
Class<?>[] getParameterTypes(); Type[] getGenericParameterTypes(); @Nullable <S extends Annotation> S getAnnotation(Class<S> annotation); int getModifiers(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/AbstractModelCreationRuleExtractor.java
private ModelPath determineModelName(MethodRuleDefinition<?, ?> ruleDefinition, RuleSourceValidationProblemCollector problems) { String annotationValue = ruleDefinition.getAnnotation(Model.class).value(); String modelName = (annotationValue == null || annotationValue.isEmpty()) ? ruleDefinition.getMethodName() : annotationValue; try { ModelPath.validatePath(modelName);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AggregatingProcessingStrategy.java
} private void validateAnnotations(Set<? extends TypeElement> annotations) { for (TypeElement annotation : annotations) { Retention retention = annotation.getAnnotation(Retention.class); if (retention != null && retention.value() == RetentionPolicy.SOURCE) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 29 15:12:07 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/DefaultTypeMetadataStore.java
return annotationMetadata.isAnnotationPresent(annotationType); } @Override public <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType) { return annotationMetadata.getAnnotation(annotationType); } @Override public Optional<Annotation> getAnnotationForCategory(AnnotationCategory category) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 14.9K bytes - Viewed (0)