1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package org.zwobble.couscous.values; import lombok.ToString; @ToString public class UnitValue implements InterpreterValue { public static final UnitValue UNIT = new UnitValue(); private UnitValue() { } @Override public InterpreterValue callMethod(String methodName) { throw new UnsupportedOperationException(); } }