Can I use groovy's default getters / setters to help implement a java interface?
问题 I am extending a very simple Java interface from an imported library. The interface is so simple that the only methods it declares are getters and setters for a list of properties. My application is written in Groovy, so I'd like to implement this Java interface with a Groovy class. I was under the impression that Groovy created getters and setters by default for any of its classes' properties - can I use these default getters and setters to satisfy the Java interface's requirements? Library