blob: 5c272a09ec14367dab36aad991badea65307ab9c (
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 IntegerValue implements PrimitiveValue {
public static final TypeReference REF = typeRef("java.lang.Integer");
int value;
@Override
public <T> T accept(PrimitiveValueVisitor<T> visitor) {
return visitor.visit(this);
}
@Override
public TypeReference getType() {
return REF;
}
}
|