/******************************************************************************* * Copyright (c) 2012 Google, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Google, Inc. - initial API and implementation *******************************************************************************/ package com.windowtester.codegen.assembly.unit; /** * A var unit. * */ public class VarUnit extends MemberUnit { /** This var's type */ private String _type; /** * Create an instance. * @param type - the var's type name * @param name - the var name */ public VarUnit(String type, String name) { super(name); _type = type; } /** * @return Returns the var's type. */ public String getType() { return _type; } }