// Path: src/c/DeclarationType.java
// public enum DeclarationType {
//     CLASS,
//     CONSTANT,
//     FIELD,
//     METHOD,
//     ENUM,
//     VARIABLE;
// }
// 
// Path: src/c/Variable.java
// public interface Variable  extends Field{
// }


import c.DeclarationType;
import c.Variable;
package impl;


/**
 * User: PC
 * Date: 17. 6. 2014
 * Time: 19:44
 */
public class ClassVariable implements Variable {

    private String type, name;

    private boolean isFinal;

    public ClassVariable(String type, String name, boolean isFinal) {
        this.type = type;
        this.name = name;
        this.isFinal = isFinal;
    }

    @Override
    public String getType() {
        return type;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
// Path: src/c/DeclarationType.java
// public enum DeclarationType {
//     CLASS,
//     CONSTANT,
//     FIELD,
//     METHOD,
//     ENUM,
//     VARIABLE;
// }
// 
// Path: src/c/Variable.java
// public interface Variable  extends Field{
// }


// Path: src/impl/ClassVariable.java
import c.DeclarationType;
import c.Variable;

package impl;


/**
 * User: PC
 * Date: 17. 6. 2014
 * Time: 19:44
 */
public class ClassVariable implements Variable {

    private String type, name;

    private boolean isFinal;

    public ClassVariable(String type, String name, boolean isFinal) {
        this.type = type;
        this.name = name;
        this.isFinal = isFinal;
    }

    @Override
    public String getType() {
        return type;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public DeclarationType getDeclType() {