- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 81 for SetAnnotation (0.32 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/Sample.java
} base.evaluate(); } }; } private String getSampleName(Description description) { UsesSample annotation = description.getAnnotation(UsesSample.class); return annotation != null ? annotation.value() : defaultSampleName; } public TestFile getDir() { if (sampleDir == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/annotations/TestAnnotationHandlingSupport.groovy
ThisIsAThing } @Override void validateTypeMetadata(Class<?> classWithAnnotationAttached, TypeValidationContext visitor) { if (classWithAnnotationAttached.getAnnotation(ThisIsAThing)?.invalid()) { visitor.visitTypeProblem { it.label("Annotated as invalid thing!") } } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AggregatingProcessorTest.groovy
getQualifiedName() >> Stub(Name) { toString() >> name } getSimpleName() >> Stub(Name) { toString() >> name } getAnnotation(Retention) >> Stub(Retention) { value() >> retentionPolicy } } } Element method(Element parent) { Stub(ExecutableElement) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/ServiceReferencePropertyAnnotationHandler.java
return true; } @Override public void visitPropertyValue(String propertyName, PropertyValue value, PropertyMetadata propertyMetadata, PropertyVisitor visitor) { propertyMetadata.getAnnotation(ServiceReference.class).ifPresent(annotation -> { String serviceName = annotation.value(); TypeToken<?> declaredType = propertyMetadata.getDeclaredType();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/PropertyAccessorExtractionContext.java
} public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.containsKey(annotationType); } public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return Cast.uncheckedCast(annotations.get(annotationType)); } public Collection<Annotation> getAnnotations() { return annotations.values(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/AbstractAnnotationModelRuleExtractorTest.groovy
def ruleDefinition = Mock(MethodRuleDefinition) protected abstract AbstractAnnotationDrivenComponentModelRuleExtractor getRuleHandler(); abstract Class<? extends Annotation> getAnnotation(); abstract Class<?> getRuleClass(); def "handles methods annotated with @#annotationName"() { when: 1 * ruleDefinition.isAnnotationPresent(annotation) >> false then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 5.7K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java
} }, toDependencies(method.getDeclaringClass(), method)); Priority priority = method.getAnnotation(Priority.class); if (priority != null) { binding = binding.prioritize(priority.value()); } return binding; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 17:13:31 UTC 2024 - 16K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/exception/DefaultExceptionAnalyser.java
} else if (current instanceof GradleScriptException || current instanceof TaskExecutionException) { result = current; } else if (contextMatch == null && current.getClass().getAnnotation(Contextual.class) != null) { contextMatch = current; } } if (locationAware != null) { return locationAware; } else if (result != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 13:10:04 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/software/internal/DefaultSoftwareTypeRegistry.java
} @Override public void visitNested(TypeMetadata typeMetadata, String qualifiedName, PropertyMetadata propertyMetadata, TypeToken<?> value) { propertyMetadata.getAnnotation(SoftwareType.class).ifPresent(softwareType -> { Class<? extends Plugin<Project>> existingPluginClass = registeredTypes.put(softwareType.name(), pluginClass);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:31 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/kube/inject/template.go
"includeInboundPorts": includeInboundPorts, "kubevirtInterfaces": kubevirtInterfaces, "excludeInterfaces": excludeInterfaces, "applicationPorts": applicationPorts, "annotation": getAnnotation, "valueOrDefault": valueOrDefault, "toJSON": toJSON, "fromJSON": fromJSON, "structToJSON": structToJSON, "protoToJSON": protoToJSON,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 02:12:03 UTC 2023 - 9.9K bytes - Viewed (0)