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

java.lang.Object
  extended by org.jboss.errai.ioc.rebind.ioc.codegen.builder.callstack.AbstractCallElement
All Implemented Interfaces:
CallElement
Direct Known Subclasses:
AssignVariable, BranchCallElement, ConditionalBlockCallElement, DeclareVariable, DeferredCallElement, DefineLabel, DynamicLoad, LoadBeanValue, 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  CallElement next
           
protected  MetaClass resultType
           
 
Constructor Summary
AbstractCallElement()
           
 
Method Summary
static void append(CallElement start, CallElement last)
           
 CallElement getNext()
           
 MetaClass getResultType()
           
 void nextOrReturn(CallWriter writer, Context ctx, Statement statement)
           
 CallElement setNext(CallElement next)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.errai.ioc.rebind.ioc.codegen.builder.callstack.CallElement
handleCall
 

Field Detail

next

protected CallElement next

resultType

protected MetaClass resultType
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


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