org.mvel2.optimizers.impl.refl.nodes
Class MethodAccessor

java.lang.Object
  extended by org.mvel2.optimizers.impl.refl.nodes.BaseAccessor
      extended by org.mvel2.optimizers.impl.refl.nodes.InvokableAccessor
          extended by org.mvel2.optimizers.impl.refl.nodes.MethodAccessor
All Implemented Interfaces:
Serializable, Accessor, AccessorNode

public class MethodAccessor
extends InvokableAccessor

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mvel2.optimizers.impl.refl.nodes.InvokableAccessor
coercionNeeded, length, parameterTypes, parms
 
Fields inherited from class org.mvel2.optimizers.impl.refl.nodes.BaseAccessor
nextNode
 
Constructor Summary
MethodAccessor()
           
MethodAccessor(Method method, ExecutableStatement[] parms)
           
 
Method Summary
 Class getKnownEgressType()
           
 Method getMethod()
           
 ExecutableStatement[] getParms()
           
 Object getValue(Object ctx, Object elCtx, VariableResolverFactory vars)
           
 void setMethod(Method method)
           
 void setParms(ExecutableStatement[] parms)
           
 Object setValue(Object ctx, Object elCtx, VariableResolverFactory variableFactory, Object value)
           
 
Methods inherited from class org.mvel2.optimizers.impl.refl.nodes.InvokableAccessor
executeAndCoerce, getParameterTypes
 
Methods inherited from class org.mvel2.optimizers.impl.refl.nodes.BaseAccessor
getNextNode, setNextNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodAccessor

public MethodAccessor()

MethodAccessor

public MethodAccessor(Method method,
                      ExecutableStatement[] parms)
Method Detail

getValue

public Object getValue(Object ctx,
                       Object elCtx,
                       VariableResolverFactory vars)

getMethod

public Method getMethod()

setMethod

public void setMethod(Method method)

getParms

public ExecutableStatement[] getParms()

setParms

public void setParms(ExecutableStatement[] parms)

setValue

public Object setValue(Object ctx,
                       Object elCtx,
                       VariableResolverFactory variableFactory,
                       Object value)

getKnownEgressType

public Class getKnownEgressType()


Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.