org.jboss.errai.ioc.rebind.ioc.codegen
Class Cast

java.lang.Object
  extended by org.jboss.errai.ioc.rebind.ioc.codegen.Cast
All Implemented Interfaces:
Statement

public class Cast
extends Object
implements Statement

Author:
Mike Brock

Method Summary
 String generate(Context context)
           
 MetaClass getType()
           
static Cast to(Class<?> cls, Statement stmt)
           
static Cast to(MetaClass cls, Statement stmt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

to

public static Cast to(Class<?> cls,
                      Statement stmt)

to

public static Cast to(MetaClass cls,
                      Statement stmt)

generate

public String generate(Context context)
Specified by:
generate in interface Statement

getType

public MetaClass getType()
Specified by:
getType in interface Statement


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