Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.literal
Class ClassLiteral

java.lang.Object
  extended by org.jboss.errai.codegen.literal.LiteralValue<Class<?>>
      extended by org.jboss.errai.codegen.literal.ClassLiteral
All Implemented Interfaces:
TypeLiteral, Statement

public class ClassLiteral
extends LiteralValue<Class<?>>
implements TypeLiteral

Author:
Mike Brock

Field Summary
 
Fields inherited from class org.jboss.errai.codegen.literal.LiteralValue
clazz
 
Constructor Summary
ClassLiteral(Class<?> value)
           
 
Method Summary
 MetaClass getActualType()
           
 String getCanonicalString(Context context)
           
 MetaClass getType()
           
 
Methods inherited from class org.jboss.errai.codegen.literal.LiteralValue
equals, generate, getValue, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLiteral

public ClassLiteral(Class<?> value)
Method Detail

getCanonicalString

public String getCanonicalString(Context context)
Specified by:
getCanonicalString in class LiteralValue<Class<?>>

getType

public MetaClass getType()
Specified by:
getType in interface Statement
Overrides:
getType in class LiteralValue<Class<?>>

getActualType

public MetaClass getActualType()
Specified by:
getActualType in interface TypeLiteral

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.