@@ -0,0 +1,740 @@
+package com.github.hisaichi5518.kise.unittype;%0A%0A%0Aimport com.google.firebase.remoteconfig.FirebaseRemoteConfig;%0A%0Apublic abstract class UnitWithReturn%3CReturnValue%3E %7B%0A    protected abstract ReturnValue customAction() throws Exception;%0A%0A    protected abstract ReturnValue defaultAction();%0A%0A    public ReturnValue invoke() %7B%0A        final FirebaseRemoteConfig config = FirebaseRemoteConfig.getInstance();%0A        if (config.getBoolean(key())) %7B%0A            try %7B%0A                return customAction();%0A            %7D catch (Exception e) %7B%0A                return defaultAction();%0A            %7D%0A        %7D else %7B%0A            return defaultAction();%0A        %7D%0A    %7D%0A%0A    private String key() %7B%0A        return this.getClass().getSimpleName();%0A    %7D%0A%7D%0A

Add UnitWithReturn class