- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AnnotationNode (0.19 sec)
-
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java
MethodNode method = AstUtils.getGeneratedClosureImplMethod(node); Boolean isRulesBlock = method.getCode().getNodeMetaData(AST_NODE_METADATA_KEY); if (isRulesBlock != null) { AnnotationNode markerAnnotation = new AnnotationNode(ANNOTATION_CLASS_NODE); node.addAnnotation(markerAnnotation); } } @Override public void visitBlockStatement(BlockStatement block) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java
@Override public void visitAnnotations(AnnotatedNode node) { List<AnnotationNode> annotations = node.getAnnotations(); if (annotations.isEmpty()) { return; } Map<String, AnnotationNode> tmpAnnotations = new HashMap<String, AnnotationNode>(); ClassNode annType; for (AnnotationNode an : annotations) { // skip built-in properties
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 67.6K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
returnType?.typeArguments ?: emptyList() ) private inline fun <reified AnnotationType : Any> List<AnnotationNode>?.has() = has(Type.getDescriptor(AnnotationType::class.java)) private fun List<AnnotationNode>?.has(annotationTypeDescriptor: String) = this?.any { it.desc == annotationTypeDescriptor } ?: false private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 19:56:10 UTC 2024 - 20.8K bytes - Viewed (0)