org.eclipse.xtend.backend.compiler.model
Class NamedFunctionModel

java.lang.Object
  extended by org.eclipse.xtend.backend.compiler.model.NamedFunctionModel

public class NamedFunctionModel
extends java.lang.Object


Constructor Summary
NamedFunctionModel(QualifiedName name, Function function)
           
 
Method Summary
 Function getFunction()
           
 ExpressionBase getGuard()
           
 QualifiedName getName()
           
 java.util.List<? extends BackendType> getParameterTypes()
           
 BackendType getReturnType()
           
 boolean isCached()
           
 void setFunction(Function function)
           
 void setName(QualifiedName name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedFunctionModel

public NamedFunctionModel(QualifiedName name,
                          Function function)
Method Detail

getName

public QualifiedName getName()
Returns:
the name

setName

public void setName(QualifiedName name)
Parameters:
name - the name to set

getFunction

public Function getFunction()
Returns:
the function

setFunction

public void setFunction(Function function)
Parameters:
function - the function to set

getParameterTypes

public java.util.List<? extends BackendType> getParameterTypes()

getReturnType

public BackendType getReturnType()

getGuard

public ExpressionBase getGuard()

isCached

public boolean isCached()