blob: ba0b1b55df0d5312e1eed40e219dbb795df98088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package org.zwobble.couscous.values;
import static org.zwobble.couscous.values.TypeReference.typeRef;
import lombok.Value;
@Value
public class StringValue implements PrimitiveValue {
public static final TypeReference REF = typeRef("java.lang.String");
String value;
@Override
public <T> T accept(PrimitiveValueVisitor<T> visitor) {
return visitor.visit(this);
}
@Override
public TypeReference getType() {
return REF;
}
}
|