X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.reflection%2Fsrc%2Forg%2Fsimantics%2Fscl%2Freflection%2FTypedValue.java;h=22e1e2ffbfdfe211da6af1c7f58c0535d80dd0d1;hb=8f99af83cee60676d80cf2334177ab94f82b7959;hp=5fcbe17e0271748395ed3f2dd8aa0397141ef172;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.reflection/src/org/simantics/scl/reflection/TypedValue.java b/bundles/org.simantics.scl.reflection/src/org/simantics/scl/reflection/TypedValue.java old mode 100755 new mode 100644 index 5fcbe17e0..22e1e2ffb --- a/bundles/org.simantics.scl.reflection/src/org/simantics/scl/reflection/TypedValue.java +++ b/bundles/org.simantics.scl.reflection/src/org/simantics/scl/reflection/TypedValue.java @@ -1,30 +1,30 @@ -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; - } +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