Package com.strobel.decompiler.ast
Class Lambda
- java.lang.Object
-
- com.strobel.decompiler.ast.Node
-
- com.strobel.decompiler.ast.Lambda
-
public class Lambda extends Node
-
-
Field Summary
Fields Modifier and Type Field Description private Block
_body
private DynamicCallSite
_callSite
private TypeReference
_expectedReturnType
private TypeReference
_functionType
private TypeReference
_inferredReturnType
private MethodReference
_method
private Collection<Variable>
_parameters
private Variable[]
_variableMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Block
getBody()
DynamicCallSite
getCallSite()
java.util.List<Node>
getChildren()
TypeReference
getExpectedReturnType()
TypeReference
getFunctionType()
TypeReference
getInferredReturnType()
MethodReference
getMethod()
java.util.List<Variable>
getParameters()
Variable[]
getVariableMap()
void
setBody(Block body)
void
setCallSite(DynamicCallSite callSite)
void
setExpectedReturnType(TypeReference expectedReturnType)
void
setFunctionType(TypeReference functionType)
void
setInferredReturnType(TypeReference inferredReturnType)
void
setMethod(MethodReference method)
void
setVariableMap(Variable[] variableMap)
void
writeTo(ITextOutput output)
-
Methods inherited from class com.strobel.decompiler.ast.Node
getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, isConditionalControlFlow, isUnconditionalControlFlow, toString
-
-
-
-
Field Detail
-
_parameters
private final Collection<Variable> _parameters
-
_variableMap
private Variable[] _variableMap
-
_callSite
private DynamicCallSite _callSite
-
_method
private MethodReference _method
-
_functionType
private TypeReference _functionType
-
_body
private Block _body
-
_expectedReturnType
private TypeReference _expectedReturnType
-
_inferredReturnType
private TypeReference _inferredReturnType
-
-
Constructor Detail
-
Lambda
public Lambda()
-
Lambda
public Lambda(Block body)
-
Lambda
public Lambda(Block body, TypeReference functionType)
-
-
Method Detail
-
getParameters
public final java.util.List<Variable> getParameters()
-
getCallSite
public final DynamicCallSite getCallSite()
-
setCallSite
public final void setCallSite(DynamicCallSite callSite)
-
getBody
public final Block getBody()
-
setBody
public final void setBody(Block body)
-
getFunctionType
public final TypeReference getFunctionType()
-
setFunctionType
public final void setFunctionType(TypeReference functionType)
-
getMethod
public final MethodReference getMethod()
-
setMethod
public final void setMethod(MethodReference method)
-
getExpectedReturnType
public final TypeReference getExpectedReturnType()
-
setExpectedReturnType
public final void setExpectedReturnType(TypeReference expectedReturnType)
-
getInferredReturnType
public final TypeReference getInferredReturnType()
-
setInferredReturnType
public final void setInferredReturnType(TypeReference inferredReturnType)
-
getVariableMap
public final Variable[] getVariableMap()
-
setVariableMap
public final void setVariableMap(Variable[] variableMap)
-
getChildren
public java.util.List<Node> getChildren()
- Overrides:
getChildren
in classNode
-
writeTo
public final void writeTo(ITextOutput output)
-
-