- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 81 for SetAnnotation (0.33 sec)
-
testing/internal-testing/src/test/groovy/org/gradle/testing/internal/util/ExpectedFailureRule.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/PropertyMetadata.java
import java.util.Optional; public interface PropertyMetadata { String getPropertyName(); boolean isAnnotationPresent(Class<? extends Annotation> annotationType); <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType); Optional<Annotation> getAnnotationForCategory(AnnotationCategory category); boolean hasAnnotationForCategory(AnnotationCategory category);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/DefaultTaskClassInfoStore.java
private static TaskClassInfo createTaskClassInfo(Class<? extends Task> type) { boolean cacheable = type.isAnnotationPresent(CacheableTask.class); Optional<String> reasonNotToTrackState = Optional.ofNullable(type.getAnnotation(UntrackedTask.class)) .map(UntrackedTask::because); Map<String, Class<?>> processedMethods = new HashMap<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:47 UTC 2024 - 7.4K 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)