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

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

public class ThrowsDeclaration
extends AbstractStatement

Author:
Christian Sadilek

Method Summary
 String generate(Context context)
           
 boolean isEmpty()
           
static ThrowsDeclaration none()
           
static ThrowsDeclaration of(Class<? extends Throwable>... exceptionTypes)
           
static ThrowsDeclaration of(MetaClass... exceptionTypes)
           
 
Methods inherited from class org.jboss.errai.ioc.rebind.ioc.codegen.AbstractStatement
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

of

public static ThrowsDeclaration of(Class<? extends Throwable>... exceptionTypes)

of

public static ThrowsDeclaration of(MetaClass... exceptionTypes)

none

public static ThrowsDeclaration none()

isEmpty

public boolean isEmpty()

generate

public String generate(Context context)


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