最佳答案
我现在和其他人一起做一个圣杯项目。我得写一些 Java 类。但我需要访问用 groovy 创建的可搜索对象。看起来,这个对象必须放在 default-package 中。
我的问题是: 有没有一种方法可以从命名包中的 Java 类访问默认包中的这个对象?