public interface JavaProxyMethod extends IRubyObject, ParameterTypes
NULL_ARRAY
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
defaultResult()
Deprecated.
|
JavaProxyClass |
getDeclaringClass() |
int |
getModifiers() |
java.lang.String |
getName() |
java.lang.Class<?> |
getReturnType() |
java.lang.Object |
getState()
get state (cache target callable?) in the proxy method
|
java.lang.reflect.Method |
getSuperMethod() |
boolean |
hasSuperImplementation()
is it possible to call the super method?
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.Object[] args) |
void |
setState(java.lang.Object state)
store state (cache target callable?) in the proxy method
|
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, eql, getInstanceVariables, getInternalVariables, getJavaClass, getMetaClass, getRuntime, getSingletonClass, getType, getVariable, getVariableCount, getVariableList, getVariableNameList, hasVariables, id, infectBy, inspect, isClass, isFrozen, isImmediate, isModule, isNil, isSpecialConst, isTaint, isTrue, isUntrusted, op_eqq, op_equal, rbClone, removeFinalizers, respondsTo, respondsToMissing, respondsToMissing, setFrozen, setTaint, setUntrusted, setVariable, syncVariables, syncVariables, toJava
getArity, getExceptionTypes, getParameterTypes, isVarArgs
java.lang.reflect.Method getSuperMethod()
java.lang.Object getState()
void setState(java.lang.Object state)
boolean hasSuperImplementation()
java.lang.Object invoke(java.lang.Object proxy, java.lang.Object[] args) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException
proxy
- args
- java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
- if this ProxyMethod has no super implementation@Deprecated java.lang.Object defaultResult()
java.lang.String getName()
java.lang.Class<?> getReturnType()
JavaProxyClass getDeclaringClass()
int getModifiers()
Copyright © 2001-2018 JRuby. All Rights Reserved.