org.eclipse.xtend.backend.types.builtin
Class VoidType

java.lang.Object
  extended by org.eclipse.xtend.backend.types.AbstractType
      extended by org.eclipse.xtend.backend.types.builtin.VoidType
All Implemented Interfaces:
BackendType

public final class VoidType
extends AbstractType

This type receives special treatment because it is the only type that can not be determined based on the Java class of an object.

Author:
Arno Haase (http://www.haase-consulting.com)

Field Summary
static VoidType INSTANCE
           
 
Method Summary
 boolean equals(java.lang.Object other)
          every type *must* implement a valid equals method, otherwise the backend will break!
 boolean isAssignableFrom(BackendType other)
           
 
Methods inherited from class org.eclipse.xtend.backend.types.AbstractType
create, getBuiltinOperations, getName, getProperties, getProperty, getStaticProperties, getSuperTypes, getUniqueRepresentation, register, register, register, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final VoidType INSTANCE
Method Detail

isAssignableFrom

public boolean isAssignableFrom(BackendType other)
Specified by:
isAssignableFrom in interface BackendType
Overrides:
isAssignableFrom in class AbstractType

equals

public boolean equals(java.lang.Object other)
Description copied from class: AbstractType
every type *must* implement a valid equals method, otherwise the backend will break!

Specified by:
equals in class AbstractType