-package org.simantics.scl.reflection;\r
-\r
-import org.simantics.scl.compiler.types.Type;\r
-\r
-/**\r
- * SCL together with its type.\r
- * @author Hannu Niemistö\r
- */\r
-public class TypedValue {\r
- final Type type;\r
- final Object value;\r
- \r
- public TypedValue(Type type, Object value) {\r
- this.type = type;\r
- this.value = value;\r
- }\r
- \r
- @Override\r
- public String toString() {\r
- return value.toString() + " :: " + type;\r
- }\r
- \r
- public Type getType() {\r
- return type;\r
- }\r
- \r
- public Object getValue() {\r
- return value;\r
- }\r
+package org.simantics.scl.reflection;
+
+import org.simantics.scl.compiler.types.Type;
+
+/**
+ * SCL together with its type.
+ * @author Hannu Niemistö
+ */
+public class TypedValue {
+ final Type type;
+ final Object value;
+
+ public TypedValue(Type type, Object value) {
+ this.type = type;
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return value.toString() + " :: " + type;
+ }
+
+ public Type getType() {
+ return type;
+ }
+
+ public Object getValue() {
+ return value;
+ }
}
\ No newline at end of file