Tried to compile the following within the groovy console
public interface SomeInterface<T> {
List someMethod(T entity);
}
the following error comes up:
"org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1: 1: Unexpected node type: TYPE_PARAMETERS found when expecting type: OBJBLOCK at line: 1 column: 31. File: Script1 @ line 1, column 31."
If you compile the interface with java and try to implement the interface from a groovy class, another error comes up:
"Can't have an abstract method in a non-abstract class."