| Index: dart/compiler/java/com/google/dart/compiler/type/VoidType.java
|
| diff --git a/dart/compiler/java/com/google/dart/compiler/type/VoidType.java b/dart/compiler/java/com/google/dart/compiler/type/VoidType.java
|
| deleted file mode 100644
|
| index 2e089bd0fb8a09f56def6b3df5fddcf05f57f753..0000000000000000000000000000000000000000
|
| --- a/dart/compiler/java/com/google/dart/compiler/type/VoidType.java
|
| +++ /dev/null
|
| @@ -1,46 +0,0 @@
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -package com.google.dart.compiler.type;
|
| -
|
| -import com.google.dart.compiler.resolver.Element;
|
| -import com.google.dart.compiler.resolver.Elements;
|
| -
|
| -import java.util.List;
|
| -
|
| -/**
|
| - * Implementation of "void". There is no public interface for this class as Type already exposes
|
| - * all the functionality needed.
|
| - */
|
| -class VoidType extends AbstractType {
|
| - @Override
|
| - public Type subst(List<Type> arguments, List<Type> parameters) {
|
| - return this;
|
| - }
|
| -
|
| - @Override
|
| - public TypeKind getKind() {
|
| - return TypeKind.VOID;
|
| - }
|
| -
|
| - @Override
|
| - public Element getElement() {
|
| - return Elements.voidElement();
|
| - }
|
| -
|
| - @Override
|
| - public String toString() {
|
| - return "void";
|
| - }
|
| -
|
| - @Override
|
| - public boolean equals(Object other) {
|
| - return other instanceof VoidType;
|
| - }
|
| -
|
| - @Override
|
| - public int hashCode() {
|
| - return VoidType.class.hashCode();
|
| - }
|
| -}
|
|
|