package uk.co.littlemike.editor.language.statements.expressions;

import uk.co.littlemike.editor.language.statements.expressions.Expression;
import uk.co.littlemike.editor.language.types.Type;
import uk.co.littlemike.editor.language.types.Types;

public class IntegerConstant implements Expression {
    private final int value;

    public IntegerConstant(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    @Override
    public Type getType() {
        return Types.Integer;
    }
}

@@ -61,84 +61,11 @@
 ons;
-%0A%0Aimport uk.co.littlemike.editor.language.statements.expressions.Expression;
+%0D%0A%0D
 %0Aimp
@@ -112,16 +112,17 @@
 es.Type;
+%0D
 %0Aimport 
@@ -166,17 +166,19 @@
 s.Types;
-%0A
+%0D%0A%0D
 %0Apublic 
@@ -222,16 +222,17 @@
 ession %7B
+%0D
 %0A    pri
@@ -252,17 +252,19 @@
 t value;
-%0A
+%0D%0A%0D
 %0A    pub
@@ -295,16 +295,17 @@
 value) %7B
+%0D
 %0A       
@@ -320,31 +320,34 @@
 lue = value;
+%0D
 %0A    %7D
-%0A
+%0D%0A%0D
 %0A    public 
@@ -358,24 +358,25 @@
 getValue() %7B
+%0D
 %0A        ret
@@ -385,23 +385,26 @@
 n value;
+%0D
 %0A    %7D
-%0A
+%0D%0A%0D
 %0A    @Ov
@@ -409,16 +409,17 @@
 Override
+%0D
 %0A    pub
@@ -438,16 +438,17 @@
 Type() %7B
+%0D
 %0A       
@@ -473,13 +473,16 @@
 ger;
+%0D
 %0A    %7D
+%0D
 %0A%7D
+%0D
 %0A

Remove unused import