public interface JavaProxyMethod extends IRubyObject, ParameterTypes
NULL_ARRAY
Modifier and Type | Method and Description |
---|---|
Object |
defaultResult() |
JavaProxyClass |
getDeclaringClass() |
int |
getModifiers() |
String |
getName() |
Class<?> |
getReturnType() |
Object |
getState()
get state (cache target callable?) in the proxy method
|
Method |
getSuperMethod() |
boolean |
hasSuperImplementation()
is it possible to call the super method?
|
Object |
invoke(Object proxy,
Object[] args) |
void |
setState(Object state)
store state (cache target callable?) in the proxy method
|
addFinalizer, anyToString, asJavaString, asString, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callSuper, checkArrayType, 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
Method getSuperMethod()
Object getState()
void setState(Object state)
boolean hasSuperImplementation()
Object invoke(Object proxy, Object[] args) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
proxy
- args
- IllegalArgumentException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
- if this ProxyMethod has no super implementationObject defaultResult()
String getName()
Class<?> getReturnType()
JavaProxyClass getDeclaringClass()
int getModifiers()
Copyright © 2001-2015 JRuby. All Rights Reserved.