On 10.06.25 15:15, Saravanan Palanichamy wrote:
[...]
1. Add ABC.java as the only source unit. Then I override resolve
visitor, to detect all resolve attempts. I now know what other
classes need to be resolved, so I try to add new files to the
compilation units. The code looks like i
The import aliasing solution proposed by Jochen is immediately usable. There
was a typo, which may hinder understanding.
import someType as SomeType
class someType {
private SomeType someFunction() {
}
}
The parser can handle lowerCase name for the class, but not for return type of
a
Given a Groovy source can contain any number of classes with any names, the
detection that ABC depends on a given source DEF is going to be rather at the
difficult side.
The only solution I can see is to build all the sources at start and use
appropriate ASTTs to create a complete map source <-
Hi Jochen
Thank you for the explanation. I am not trying to do this with a build
system like gradle or make. I am hosting the Groovy Compiler in a Java CLI
and I have my own customizations. This is my setup
- A Java CLI that bundles the Groovy Compiler and takes command like
options to fee
Hi Everyone,
The vote has passed with FIVE +1 binding votes and 1 non-binding vote.
We will proceed with the next steps.
-James