package org.zanata.webtrans.server.rpc;

import net.customware.gwt.dispatch.server.ActionHandler;
import net.customware.gwt.dispatch.shared.Action;
import net.customware.gwt.dispatch.shared.Result;

import org.zanata.webtrans.server.ActionHandlerFor;

abstract class AbstractActionHandler<A extends Action<R>, R extends Result>
        implements ActionHandler<A, R> {

    @SuppressWarnings("unchecked")
    @Override
    public final Class<A> getActionType() {
        return (Class<A>) this.getClass().getAnnotation(ActionHandlerFor.class)
                .getClass();
    }

}

@@ -363,16 +363,103 @@
 , R%3E %7B%0A%0A
+    protected AbstractActionHandler() %7B%0A        assert getActionType() != null;%0A    %7D%0A%0A
     @Sup
@@ -514,14 +514,8 @@
 lic 
-final 
 Clas

Make method non-final (not allowed for CDI beans)