- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MyASTTransformation (0.24 sec)
-
platforms/documentation/docs/src/snippets/groovy/compilationAvoidance/groovy/ast-transformation/src/main/groovy/MyASTTransformation.groovy
import org.codehaus.groovy.transform.*; import org.codehaus.groovy.ast.*; import org.codehaus.groovy.control.*; @GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) public class MyASTTransformation extends AbstractASTTransformation { @Override public void visit(ASTNode[] nodes, SourceUnit source) { println "AST transformation!" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 365 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/groovy/compilationAvoidance/kotlin/ast-transformation/src/main/groovy/MyASTTransformation.groovy
import org.codehaus.groovy.transform.*; import org.codehaus.groovy.ast.*; import org.codehaus.groovy.control.*; @GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) public class MyASTTransformation extends AbstractASTTransformation { @Override public void visit(ASTNode[] nodes, SourceUnit source) { println "AST transformation!" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 365 bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/java/compile/AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
} buildFile << astTransformationDeclaration() file("a/src/main/resources/META-INF/services/org.codehaus.groovy.transform.ASTTransformation") << "MyASTTransformation" def astTransformationSourceFile = file("a/src/main/groovy/MyASTTransformation.groovy") file("b/src/main/groovy/Main.groovy") << """ public class Main {} """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/groovy/compilationAvoidance/kotlin/ast-transformation/src/main/groovy/MyAnnotation.groovy
import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @Target([ElementType.TYPE]) @org.codehaus.groovy.transform.GroovyASTTransformationClass("MyASTTransformation")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 213 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/groovy/compilationAvoidance/groovy/ast-transformation/src/main/groovy/MyAnnotation.groovy
import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @Target([ElementType.TYPE]) @org.codehaus.groovy.transform.GroovyASTTransformationClass("MyASTTransformation")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 213 bytes - Viewed (0)