Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.builder.impl
Class MethodBuilderAbstractOption<T>

java.lang.Object
  extended by org.jboss.errai.codegen.builder.impl.MethodBuilderAbstractOption<T>
All Implemented Interfaces:
Finishable<T>

public class MethodBuilderAbstractOption<T>
extends Object
implements Finishable<T>

Author:
Christian Sadilek

Field Summary
protected  MethodBuildCallback<T> callback
           
protected  ThrowsDeclaration throwsDeclaration
           
 
Constructor Summary
MethodBuilderAbstractOption(MethodBuildCallback<T> callback)
           
 
Method Summary
 T finish()
           
 T throws_(Class<? extends Throwable>... exceptionTypes)
           
 T throws_(MetaClass... exceptions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

throwsDeclaration

protected ThrowsDeclaration throwsDeclaration

callback

protected MethodBuildCallback<T> callback
Constructor Detail

MethodBuilderAbstractOption

public MethodBuilderAbstractOption(MethodBuildCallback<T> callback)
Method Detail

throws_

public T throws_(Class<? extends Throwable>... exceptionTypes)

throws_

public T throws_(MetaClass... exceptions)

finish

public T finish()
Specified by:
finish in interface Finishable<T>

Errai 3.0.1-SNAPSHOT

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