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_bodyprivate DynamicCallSite_callSiteprivate TypeReference_expectedReturnTypeprivate TypeReference_functionTypeprivate TypeReference_inferredReturnTypeprivate MethodReference_methodprivate Collection<Variable>_parametersprivate Variable[]_variableMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockgetBody()DynamicCallSitegetCallSite()java.util.List<Node>getChildren()TypeReferencegetExpectedReturnType()TypeReferencegetFunctionType()TypeReferencegetInferredReturnType()MethodReferencegetMethod()java.util.List<Variable>getParameters()Variable[]getVariableMap()voidsetBody(Block body)voidsetCallSite(DynamicCallSite callSite)voidsetExpectedReturnType(TypeReference expectedReturnType)voidsetFunctionType(TypeReference functionType)voidsetInferredReturnType(TypeReference inferredReturnType)voidsetMethod(MethodReference method)voidsetVariableMap(Variable[] variableMap)voidwriteTo(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:
getChildrenin classNode
-
writeTo
public final void writeTo(ITextOutput output)
-
-