if (classNode.isInterface()) {
error(source, "Error processing interface '" + cName + "'. " + MY_TYPE_NAME +
" not allowed for interfaces.");
}
ListExpression values = getListOfClasses(node);
if (values == null) {
error(source, "Error processing class '" + cName + "'. " + MY_TYPE_NAME +
" annotation expects a class or a list of classes to mock");
return;
}
List<ClassExpression> domainClassNodes = new ArrayList<ClassExpression>();
for (Expression expression : values.getExpressions()) {
if (expression instanceof ClassExpression) {
ClassExpression classEx = (ClassExpression) expression;
ClassNode cn = classEx.getType();
Class<?> mixinClassForArtefactType = getMixinClassForArtefactType(cn);
if (mixinClassForArtefactType != null) {