Top Fields Methods
org.jruby.javasupport.proxy

public Interface JavaProxyMethod

extends IRubyObject, ParameterTypes
Known Direct Implementers
org.jruby.javasupport.proxy.JavaProxyClass.ProxyMethodImpl
Imports
java.lang.reflect.InvocationTargetException, .Method, org.jruby.javasupport.ParameterTypes, org.jruby.runtime.builtin.IRubyObject

Field Summary

Inherited from org.jruby.runtime.builtin.IRubyObject:
NULL_ARRAY

Method Summary

Modifier and TypeMethod and Description
public Object
defaultResult()
Deprecated

public JavaProxyClass
public int
public String
public Class<?>
public Object
getState()

get state (cache target callable?) in the proxy method

public Method
public boolean
hasSuperImplementation()

is it possible to call the super method?

public Object
invoke(Object proxy, Object[] args)

public void
setState(Object state)

store state (cache target callable?) in the proxy method

Inherited from org.jruby.javasupport.ParameterTypes:
getAritygetExceptionTypesgetParameterTypesisVarArgs
Inherited from org.jruby.runtime.builtin.IRubyObject:
addFinalizeraddFinalizeranyToStringarrayasJavaStringasStringcallMethodcallMethodcallMethodcallMethodcallMethodcallMethodcallSupercheckArrayTypecheckCallMethodcheckCallMethodcheckStringTypecheckStringType19convertToArrayconvertToFloatconvertToHashconvertToIntegerconvertToIntegerconvertToIntegerconvertToStringcopySpecialInstanceVariablesdataGetStructdataGetStructCheckeddataWrapStructdupdupeqlgetInstanceVariablesgetInternalVariablesgetJavaClassgetMarshalVariableListgetMetaClassgetRuntimegetSingletonClassgetTypegetVariablegetVariableCountgetVariableListgetVariableNameListhasVariablesidinfectByinspectinspectisClassisFrozenisImmediateisModuleisNilisSpecialConstisTaintisTrueisUntrustedmarshalLiveVariablesop_eqqop_equalrbCloneremoveFinalizersrespondsTorespondsToMissingrespondsToMissingsetFrozensetTaintsetUntrustedsetVariablesingletonClasssyncVariablessyncVariablestoJava

Method Detail

defaultResultback to summary
public Object defaultResult()

Deprecated

Annotations
@Deprecated
getDeclaringClassback to summary
public JavaProxyClass getDeclaringClass()
getModifiersback to summary
public int getModifiers()
getNameback to summary
public String getName()
getReturnTypeback to summary
public Class<?> getReturnType()
getStateback to summary
public Object getState()

get state (cache target callable?) in the proxy method

getSuperMethodback to summary
public Method getSuperMethod()
hasSuperImplementationback to summary
public boolean hasSuperImplementation()

is it possible to call the super method?

invokeback to summary
public Object invoke(Object proxy, Object[] args) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
Exceptions
NoSuchMethodException:
if this ProxyMethod has no super implementation
setStateback to summary
public void setState(Object state)

store state (cache target callable?) in the proxy method