- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 86 for annotationType (0.16 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/AbstractInputFilePropertyAnnotationHandler.java
private final InputFilePropertyType filePropertyType; public AbstractInputFilePropertyAnnotationHandler(Class<? extends Annotation> annotationType, InputFilePropertyType filePropertyType, ImmutableSet<Class<? extends Annotation>> allowedModifiers) { super(annotationType, allowedModifiers); this.filePropertyType = filePropertyType; } @Override public boolean isPropertyRelevant() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/RuleApplicationScope.java
} assert result != null; return result; } private static boolean hasAnnotation(Iterable<Annotation> annotations, Class<? extends Annotation> annotationType) { for (Annotation annotation : annotations) { if (annotationType.isInstance(annotation)) { return true; } } return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java
} @Override public List<String> getAnnotationTypeNames() { return annotationNames; } public void addAnnotationTypeName(String annotationType) { annotationNames.add(annotationType); } @Override public boolean isDeprecated() { return annotationNames.contains(Deprecated.class.getName()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AddGeneratedClassNameFlagFromClassLevelAnnotation.java
}); return Collections.singletonList(originalRequest); } public static Predicate<CallInterceptionRequest> ifHasAnnotation(Class<? extends Annotation> annotationType) { return request -> { Optional<ExecutableElement> maybeOriginatingElement = request.getRequestExtras() .getByType(OriginatingElement.class)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 13:39:36 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy
} def "can use custom annotation handler"() { def annotationHandler = Stub(PropertyAnnotationHandler) _ * annotationHandler.propertyRelevant >> true _ * annotationHandler.annotationType >> SearchPath def metadataStore = new DefaultTypeMetadataStore([], [annotationHandler], [], typeAnnotationMetadataStore, TestPropertyTypeResolver.INSTANCE, cacheFactory, MissingPropertyAnnotationHandler.DO_NOTHING)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 18.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/TimeoutAdapter.java
@Override public int value() { return timeout; } @Override public TimeUnit unit() { return unit; } @Override public Class<? extends Annotation> annotationType() { return getClass(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/extensions/BehindFlagFeatureInterceptor.groovy
required } static <A> Collection<A> getAllAnnotations(testAnnotations, Class<A> annotationType) { (Collection<A>) testAnnotations.findAll { annotationType.isAssignableFrom(it.getClass()) } } def isInvalidCombination(Map<String, String> values) { false } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy
error(unsupportedValueTypeConfig { type('MyTask').property('nestedBean.nestedInput').annotationType(annotation).unsupportedValueType(...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/properties/annotations/TestPropertyTypeResolver.groovy
@Nullable @Override Class<? extends Annotation> resolveAnnotationType(Map<AnnotationCategory, Annotation> propertyAnnotations) { propertyAnnotations.get(AnnotationCategory.TYPE)?.annotationType() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/project/schemaFromGradleExtensions.kt
override fun topLevelFunction(function: KFunction<*>, preIndex: DataSchemaBuilder.PreIndex) = null } private class CachedHierarchyAnnotationChecker(private val annotationType: KClass<out Annotation>) { fun isAnnotatedMaybeInSupertypes(kClass: KClass<*>): Boolean { // Can't use computeIfAbsent because of recursive calls
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:07 UTC 2024 - 7.2K bytes - Viewed (0)