package de.steamwar.command; import de.steamwar.command.dto.ExecutionIdentifier; import de.steamwar.command.dto.TestSWCommand; public class TypeMapperCommand extends TestSWCommand { public TypeMapperCommand() { super("typemapper"); } @Register public void test(String sender, String s) { throw new ExecutionIdentifier("RunTypeMapper with CustomMapper"); } @ClassMapper(value = String.class, local = true) public AbstractTypeMapper getTypeMapper() { return SWCommandUtils.createMapper("1", "2", "3", "4", "5"); } }