Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.builder.callstack
Class AbstractCallElement

java.lang.Object
  extended by org.jboss.errai.codegen.builder.callstack.AbstractCallElement
All Implemented Interfaces:
CallElement
Direct Known Subclasses:
AssignVariable, BranchCallElement, ConditionalBlockCallElement, DeclareVariable, DeferredCallElement, DefineLabel, DynamicLoad, LoadClassReference, LoadField, LoadLiteral, LoadNested, LoadVariable, MethodCall, ResetCallElement, ReturnValue, ThrowException

public abstract class AbstractCallElement
extends Object
implements CallElement

Author:
Mike Brock , Christian Sadilek

Field Summary
protected  RuntimeException blame
           
protected  CallElement next
           
protected  MetaClass resultType
           
 
Constructor Summary
AbstractCallElement()
           
 
Method Summary
static void append(CallElement start, CallElement last)
           
protected  void blameAndRethrow(GenerationException e)
           
 CallElement getNext()
           
 MetaClass getResultType()
           
 void nextOrReturn(CallWriter writer, Context ctx, Statement statement)
           
 CallElement setNext(CallElement next)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.errai.codegen.builder.callstack.CallElement
handleCall
 

Field Detail

next

protected CallElement next

resultType

protected MetaClass resultType

blame

protected final RuntimeException blame
Constructor Detail

AbstractCallElement

public AbstractCallElement()
Method Detail

nextOrReturn

public void nextOrReturn(CallWriter writer,
                         Context ctx,
                         Statement statement)

setNext

public CallElement setNext(CallElement next)
Specified by:
setNext in interface CallElement

getNext

public CallElement getNext()
Specified by:
getNext in interface CallElement

append

public static void append(CallElement start,
                          CallElement last)

getResultType

public MetaClass getResultType()
Specified by:
getResultType in interface CallElement

toString

public String toString()
Overrides:
toString in class Object

blameAndRethrow

protected void blameAndRethrow(GenerationException e)

Errai 3.0.1-SNAPSHOT

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