- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 117 for setAnnotation (0.18 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/meta.go
GetDeletionGracePeriodSeconds() *int64 SetDeletionGracePeriodSeconds(*int64) GetLabels() map[string]string SetLabels(labels map[string]string) GetAnnotations() map[string]string SetAnnotations(annotations map[string]string) GetFinalizers() []string SetFinalizers(finalizers []string) GetOwnerReferences() []OwnerReference SetOwnerReferences([]OwnerReference) GetManagedFields() []ManagedFieldsEntry
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 20:12:50 UTC 2022 - 7.7K 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/action/DefaultConfigurableRule.java
this.cacheable = hasCacheableAnnotation(rule); } private static <DETAILS> boolean hasCacheableAnnotation(Class<? extends Action<DETAILS>> rule) { return JavaPropertyReflectionUtil.getAnnotation(rule, CacheableRule.class) != null; } public static <DETAILS> ConfigurableRule<DETAILS> of(Class<? extends Action<DETAILS>> rule) { return new DefaultConfigurableRule<DETAILS>(rule, IsolatedArray.EMPTY);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 22 21:39:35 UTC 2019 - 3.5K 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)