/** * Gets the result of a primary token's registered {@link TokenParser} on a {@link CommandSource} * * @param primaryToken The primary identifier that parsed. * @param source The {@link CommandSource} to perform the operation with. * @return The {@link Text}, if any. */ default Optional<Text> applyPrimaryToken(String primaryToken, CommandSource source) { return applyPrimaryToken(primaryToken, source, Maps.newHashMap()); }