- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 117 for setAnnotation (0.21 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_test.go
u.SetUID("") u.SetResourceVersion("") u.SetGeneration(0) u.SetCreationTimestamp(metav1.Time{}) u.SetDeletionTimestamp(nil) u.SetDeletionGracePeriodSeconds(nil) u.SetLabels(nil) u.SetAnnotations(nil) u.SetOwnerReferences(nil) u.SetFinalizers(nil) u.SetManagedFields(nil) gotMetadata, _, err := unstructured.NestedFieldNoCopy(u.UnstructuredContent(), "metadata") if err != nil { t.Error(err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/TypeAnnotationMetadata.java
void visitValidationFailures(TypeValidationContext validationContext); /** * Retrieves the annotation of the given type, if present on the type itself. */ <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:21 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/MethodRuleDefinition.java
WeaklyTypeReferencingMethod<?, R> getMethod(); String getMethodName(); boolean isAnnotationPresent(Class<? extends Annotation> annotationType); @Nullable <A extends Annotation> A getAnnotation(Class<A> annotationType); ModelType<R> getReturnType(); List<ModelReference<?>> getReferences(); List<List<Annotation>> getParameterAnnotations(); @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedForConfigurationCacheRule.groovy
*/ class ToBeFixedForConfigurationCacheRule implements TestRule { @Override Statement apply(Statement base, Description description) { def annotation = description.getAnnotation(ToBeFixedForConfigurationCache.class) if (GradleContextualExecuter.isNotConfigCache() || annotation == null) { return base }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:04:13 UTC 2024 - 2.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/plugins/SoftwareTypeRegistrationPluginTarget.java
return delegate.toString(); } private void registerSoftwareTypes(TypeMetadata typeMetadata) { Optional<RegistersSoftwareTypes> registersSoftwareType = typeMetadata.getTypeAnnotationMetadata().getAnnotation(RegistersSoftwareTypes.class); registersSoftwareType.ifPresent(registration -> { Class<? extends Plugin<Settings>> registeringPlugin = Cast.uncheckedCast(typeMetadata.getType());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:28 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/ServicesCodec.kt
OwnerServiceEncoding(serviceType) } else { null } } private fun serviceType(type: Class<*>): Class<*>? { if (type.getAnnotation(ServiceScope::class.java) != null) { return type } for (superInterface in type.interfaces) { val serviceType = serviceType(superInterface) if (serviceType != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCacheRule.groovy
import static org.junit.Assume.assumeTrue class UnsupportedWithConfigurationCacheRule implements TestRule { @Override Statement apply(Statement base, Description description) { def annotation = description.getAnnotation(UnsupportedWithConfigurationCache.class) if (GradleContextualExecuter.isNotConfigCache() || annotation == null) { return base }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 08:57:52 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy
assert transported.toString() == original.toString() assert transported.stackTrace == original.stackTrace assert (transported.class.getAnnotation(Contextual) != null) == (original.class.getAnnotation(Contextual) != null) } private Object transport(Object arg) { def outputStream = new ByteArrayOutputStream()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 16.4K bytes - Viewed (0) -
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)