// Path: src/main/java/de/dosmike/sponge/vshop/systems/ShopType.java
// public enum ShopType {
// 	PlayerShop,
// 	AdminShop;
// 
// 	public static ShopType fromInstance(ShopEntity shop) {
// 		return shop.getShopOwner().isPresent() ? PlayerShop : AdminShop;
// 	}
// 
// 	public static ShopType fromInternalFlag(boolean shopTypeFlag) {
// 		return shopTypeFlag ? AdminShop : PlayerShop;
// 	}
// }


import de.dosmike.sponge.vshop.systems.ShopType;
import org.spongepowered.api.item.inventory.ItemStack;
import org.spongepowered.api.item.inventory.ItemStackSnapshot;
import java.util.Optional;
package de.dosmike.sponge.vshop.systems.pluginfilter;



public class DummyItemFilter implements PluginItemFilter {

    String itemId;
    private DummyItemFilter() {}
    private DummyItemFilter(String itemId) { this.itemId = itemId; }

    public static DummyItemFilter of(String pluginItemId) {
        return new DummyItemFilter(pluginItemId);
    }

    public PluginItemFilter get() throws FilterResolutionException {
        return PluginItemServiceImpl.getItemFilter(itemId).orElseThrow(()->new FilterResolutionException("Plugin Item Filter for ID "+itemId+" is no longer provided!"));
    }

    @Override
    public String toString() {
        return itemId;
    }

    @Override
    public boolean isItem(ItemStack item) {
        throw new IllegalStateException("Dummy Filter was not resolved");
    }

    @Override
// Path: src/main/java/de/dosmike/sponge/vshop/systems/ShopType.java
// public enum ShopType {
// 	PlayerShop,
// 	AdminShop;
// 
// 	public static ShopType fromInstance(ShopEntity shop) {
// 		return shop.getShopOwner().isPresent() ? PlayerShop : AdminShop;
// 	}
// 
// 	public static ShopType fromInternalFlag(boolean shopTypeFlag) {
// 		return shopTypeFlag ? AdminShop : PlayerShop;
// 	}
// }


// Path: src/main/java/de/dosmike/sponge/vshop/systems/pluginfilter/DummyItemFilter.java
import de.dosmike.sponge.vshop.systems.ShopType;
import org.spongepowered.api.item.inventory.ItemStack;
import org.spongepowered.api.item.inventory.ItemStackSnapshot;
import java.util.Optional;

package de.dosmike.sponge.vshop.systems.pluginfilter;



public class DummyItemFilter implements PluginItemFilter {

    String itemId;
    private DummyItemFilter() {}
    private DummyItemFilter(String itemId) { this.itemId = itemId; }

    public static DummyItemFilter of(String pluginItemId) {
        return new DummyItemFilter(pluginItemId);
    }

    public PluginItemFilter get() throws FilterResolutionException {
        return PluginItemServiceImpl.getItemFilter(itemId).orElseThrow(()->new FilterResolutionException("Plugin Item Filter for ID "+itemId+" is no longer provided!"));
    }

    @Override
    public String toString() {
        return itemId;
    }

    @Override
    public boolean isItem(ItemStack item) {
        throw new IllegalStateException("Dummy Filter was not resolved");
    }

    @Override
    public ItemStack supply(int amount, ShopType shopType) {