aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/zwobble/couscous/ast/StaticReceiver.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/zwobble/couscous/ast/StaticReceiver.java')
-rw-r--r--src/main/java/org/zwobble/couscous/ast/StaticReceiver.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/org/zwobble/couscous/ast/StaticReceiver.java b/src/main/java/org/zwobble/couscous/ast/StaticReceiver.java
index 84cf266..3c6e32c 100644
--- a/src/main/java/org/zwobble/couscous/ast/StaticReceiver.java
+++ b/src/main/java/org/zwobble/couscous/ast/StaticReceiver.java
@@ -1,20 +1,21 @@
package org.zwobble.couscous.ast;
+import org.zwobble.couscous.ast.types.ScalarType;
import org.zwobble.couscous.ast.visitors.NodeMapper;
import org.zwobble.couscous.ast.visitors.NodeTransformer;
public class StaticReceiver implements Receiver {
- public static Receiver staticReceiver(TypeName type) {
+ public static Receiver staticReceiver(ScalarType type) {
return new StaticReceiver(type);
}
- private final TypeName type;
+ private final ScalarType type;
- public StaticReceiver(TypeName type) {
+ public StaticReceiver(ScalarType type) {
this.type = type;
}
- public TypeName getType() {
+ public ScalarType getType() {
return type;
}