Package org.jruby.javasupport.proxy
Interface JavaProxyMethod
- All Superinterfaces:
IRubyObject
,ParameterTypes
- All Known Implementing Classes:
JavaProxyClass.ProxyMethodImpl
-
Field Summary
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject
NULL_ARRAY
-
Method Summary
Methods inherited from interface org.jruby.runtime.builtin.IRubyObject
addFinalizer, addFinalizer, anyToString, asJavaString, asString, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callSuper, checkArrayType, checkCallMethod, checkCallMethod, checkStringType, checkStringType19, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToInteger, convertToInteger, convertToString, copySpecialInstanceVariables, dataGetStruct, dataGetStructChecked, dataWrapStruct, dup, dup, eql, getInstanceVariables, getInternalVariables, getJavaClass, getMarshalVariableList, getMetaClass, getRuntime, getSingletonClass, getType, getVariable, getVariableCount, getVariableList, getVariableNameList, hasVariables, id, infectBy, inspect, inspect, isClass, isFrozen, isImmediate, isModule, isNil, isSpecialConst, isTaint, isTrue, isUntrusted, marshalLiveVariables, op_eqq, op_equal, rbClone, removeFinalizers, respondsTo, respondsToMissing, respondsToMissing, setFrozen, setTaint, setUntrusted, setVariable, singletonClass, syncVariables, syncVariables, toJava
Methods inherited from interface org.jruby.javasupport.ParameterTypes
getArity, getExceptionTypes, getParameterTypes, isVarArgs
-
Method Details
-
getSuperMethod
Method getSuperMethod() -
getState
Object getState()get state (cache target callable?) in the proxy method -
setState
store state (cache target callable?) in the proxy method -
hasSuperImplementation
boolean hasSuperImplementation()is it possible to call the super method? -
invoke
Object invoke(Object proxy, Object[] args) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, NoSuchMethodException - Parameters:
proxy
-args
-- Returns:
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
- if this ProxyMethod has no super implementation
-
defaultResult
Deprecated. -
getName
String getName() -
getReturnType
Class<?> getReturnType() -
getDeclaringClass
JavaProxyClass getDeclaringClass() -
getModifiers
int getModifiers()
-