org.richfaces.cdk.templatecompiler.el.types
Class NullType

java.lang.Object
  extended by org.richfaces.cdk.templatecompiler.el.types.NullType
All Implemented Interfaces:
Type

public final class NullType
extends java.lang.Object
implements Type

Author:
Nick Belaevski

Field Summary
static Type INSTANCE
          Singleton instance of NullType
 
Method Summary
 java.lang.String getCode()
           
 Type getContainerType()
           
 java.util.Collection<java.lang.Class<?>> getImportsList()
           
 java.lang.Class<?> getRawType()
           
 Type[] getTypeArguments()
           
 boolean isArray()
           
 boolean isAssignableFrom(Type anotherType)
           
 boolean isNullType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final Type INSTANCE
Singleton instance of NullType

Method Detail

getCode

public java.lang.String getCode()
Specified by:
getCode in interface Type

getImportsList

public java.util.Collection<java.lang.Class<?>> getImportsList()
Specified by:
getImportsList in interface Type

isNullType

public boolean isNullType()
Specified by:
isNullType in interface Type

getRawType

public java.lang.Class<?> getRawType()
Specified by:
getRawType in interface Type

getTypeArguments

public Type[] getTypeArguments()
Specified by:
getTypeArguments in interface Type

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getContainerType

public Type getContainerType()
Specified by:
getContainerType in interface Type

isArray

public boolean isArray()
Specified by:
isArray in interface Type

isAssignableFrom

public boolean isAssignableFrom(Type anotherType)
Specified by:
isAssignableFrom in interface Type


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.