addPhaseOperation(new PrimaryClassNodeOperation() {
public void call(SourceUnit source, GeneratorContext context, ClassNode node) throws CompilationFailedException {
if (javaSources.size() != 0) {
VariableScopeVisitor scopeVisitor = new VariableScopeVisitor(source);
scopeVisitor.visitClass(node);
new JavaAwareResolveVisitor(JavaAwareCompilationUnit.this).startResolving(node, source);
AnnotationConstantsVisitor acv = new AnnotationConstantsVisitor();
acv.visitClass(node, source);
}
}