public class ReflectiveCallNotNullImplementor extends Object implements NotNullImplementor
NotNullImplementor
that calls a given Method.
When method is not static, a new instance of the required class is created.
| Constructor and Description |
|---|
ReflectiveCallNotNullImplementor(Method method)
Constructor of
ReflectiveCallNotNullImplementor |
| Modifier and Type | Method and Description |
|---|---|
Expression |
implement(RexToLixTranslator translator,
RexCall call,
List<Expression> translatedOperands)
Implements a call with assumption that all the null-checking is
implemented by caller.
|
protected final Method method
public ReflectiveCallNotNullImplementor(Method method)
ReflectiveCallNotNullImplementormethod - method that is used to implement the callpublic Expression implement(RexToLixTranslator translator, RexCall call, List<Expression> translatedOperands)
NotNullImplementorimplement in interface NotNullImplementortranslator - translator to implement the codecall - call to implementtranslatedOperands - arguments of a callCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.