package act.aaa;

import org.osgl.aaa.DynamicPermissionCheckHelper;

public abstract class DynamicPermissionCheckHelperBase<T> implements DynamicPermissionCheckHelper<T>{

    protected abstract Class<T> getTargetClass();

}

@@ -60,16 +60,96 @@
 kHelper;
+%0Aimport org.osgl.aaa.Permission;%0Aimport org.osgl.util.C;%0A%0Aimport java.util.List;
 %0A%0Apublic
@@ -296,10 +296,109 @@
 ass();%0A%0A
+    @Override%0A    public List%3C? extends Permission%3E permissions() %7B%0A        return C.list();%0A    %7D%0A
 %7D%0A

implement a default permissions() method in DynamicPermissionCheckHelperBase class