Package com.strobel.expressions
Class InstanceMethodCallExpressionN
- java.lang.Object
-
- com.strobel.expressions.Expression
-
- com.strobel.expressions.MethodCallExpression
-
- com.strobel.expressions.InstanceMethodCallExpressionN
-
- All Implemented Interfaces:
IArgumentProvider
final class InstanceMethodCallExpressionN extends MethodCallExpression
-
-
Field Summary
Fields Modifier and Type Field Description private ExpressionList<? extends Expression>_argumentsprivate Expression_target
-
Constructor Summary
Constructors Constructor Description InstanceMethodCallExpressionN(MethodInfo method, Expression target, ExpressionList<? extends Expression> arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongetArgument(int index)intgetArgumentCount()(package private) ExpressionList<? extends Expression>getOrMakeArguments()ExpressiongetTarget()(package private) MethodCallExpressionrewrite(Expression target, ExpressionList<? extends Expression> arguments)-
Methods inherited from class com.strobel.expressions.MethodCallExpression
accept, getArguments, getMethod, getNodeType, getType, update
-
Methods inherited from class com.strobel.expressions.Expression
add, add, addAssign, addAssign, addAssign, and, and, andAlso, andAlso, andAlso, andAssign, andAssign, andAssign, arrayIndex, arrayLength, arrayToList, arrayToList, arrayToReadOnlyList, assign, base, block, block, block, block, block, block, block, block, block, block, block, block, block, block, box, call, call, call, call, call, call, call, call, call, call, canReduce, classConstant, coalesce, coalesce, concat, concat, concat, condition, condition, constant, constant, convert, convert, decrement, decrement, defaultValue, divide, divide, divideAssign, divideAssign, divideAssign, empty, ensureUnmodifiable, equal, equal, exclusiveOr, exclusiveOr, exclusiveOrAssign, exclusiveOrAssign, exclusiveOrAssign, field, field, field, field, forEach, forEach, forEach, getDebugView, getInvokeMethod, getInvokeMethod, getMethodValidated, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, ifThen, ifThenElse, increment, increment, instanceOf, invoke, invoke, isFalse, isFalse, isNotNull, isNull, isTrue, isTrue, label, label, label, label, label, label, lambda, lambda, lambda, lambda, lambda, lambda, lambda, lambda, lambda, lambda, lambda, lambda, lambda, leftShift, leftShift, leftShiftAssign, leftShiftAssign, leftShiftAssign, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, loop, loop, loop, makeBinary, makeBinary, makeBinary, makeBinary, makeBinary, makeBreak, makeBreak, makeBreak, makeBreak, makeCatch, makeCatch, makeCatch, makeCatch, makeCatch, makeCatch, makeContinue, makeContinue, makeFor, makeFor, makeFor, makeGoto, makeGoto, makeGoto, makeGoto, makeGoto, makeMemberAccess, makeNew, makeNew, makeNew, makeNew, makeReturn, makeReturn, makeReturn, makeReturn, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeSwitch, makeThrow, makeThrow, makeTry, makeTry, makeTry, makeUnary, makeUnary, methodArgumentsMatch, modulo, modulo, moduloAssign, moduloAssign, moduloAssign, multiply, multiply, multiplyAssign, multiplyAssign, multiplyAssign, negate, negate, newArrayBounds, newArrayInit, newArrayInit, not, not, notEqual, notEqual, onesComplement, onesComplement, or, or, orAssign, orAssign, orAssign, orElse, orElse, orElse, parameter, parameter, parameterIsAssignable, parameters, performBinaryNumericPromotion, postDecrementAssign, postDecrementAssign, postIncrementAssign, postIncrementAssign, preDecrementAssign, preDecrementAssign, preIncrementAssign, preIncrementAssign, reduce, reduceAndCheck, reduceExtensions, referenceEqual, referenceNotEqual, returnObject, rightShift, rightShift, rightShiftAssign, rightShiftAssign, rightShiftAssign, runtimeVariables, runtimeVariables, self, subtract, subtract, subtractAssign, subtractAssign, subtractAssign, switchCase, switchCase, toString, tryCatch, tryCatchFinally, tryFinally, typeEqual, unaryPlus, unaryPlus, unbox, unbox, unsignedRightShift, unsignedRightShift, unsignedRightShiftAssign, unsignedRightShiftAssign, unsignedRightShiftAssign, validateVariables, variable, variable, variables, visitChildren
-
-
-
-
Field Detail
-
_target
private final Expression _target
-
_arguments
private final ExpressionList<? extends Expression> _arguments
-
-
Constructor Detail
-
InstanceMethodCallExpressionN
InstanceMethodCallExpressionN(MethodInfo method, Expression target, ExpressionList<? extends Expression> arguments)
-
-
Method Detail
-
getTarget
public final Expression getTarget()
- Overrides:
getTargetin classMethodCallExpression
-
getArgumentCount
public final int getArgumentCount()
- Specified by:
getArgumentCountin interfaceIArgumentProvider- Overrides:
getArgumentCountin classMethodCallExpression
-
getArgument
public final Expression getArgument(int index)
- Specified by:
getArgumentin interfaceIArgumentProvider- Overrides:
getArgumentin classMethodCallExpression
-
getOrMakeArguments
final ExpressionList<? extends Expression> getOrMakeArguments()
- Overrides:
getOrMakeArgumentsin classMethodCallExpression
-
rewrite
final MethodCallExpression rewrite(Expression target, ExpressionList<? extends Expression> arguments)
- Overrides:
rewritein classMethodCallExpression
-
-