public class MethodAccessImpl extends Object implements MethodAccess
| Constructor and Description |
|---|
MethodAccessImpl() |
MethodAccessImpl(Method method) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationData |
annotation(String annotationName) |
Iterable<AnnotationData> |
annotationData() |
MethodAccess |
bind(Object instance) |
Object |
bound() |
Class<?> |
declaringType() |
boolean |
equals(Object o) |
Type[] |
getGenericParameterTypes() |
boolean |
hasAnnotation(String annotationName) |
int |
hashCode() |
Object |
invoke(Object object,
Object... args) |
Object |
invokeBound(Object... args) |
<T> ConstantCallSite |
invokeReducerLongIntReturnLongMethodHandle(T object) |
Object |
invokeStatic(Object... args) |
boolean |
isStatic() |
Method |
method() |
MethodAccess |
methodAccess() |
MethodHandle |
methodHandle() |
String |
name() |
Class<?>[] |
parameterTypes() |
boolean |
respondsTo(Class<?>[] parametersToMatch) |
boolean |
respondsTo(Object... args) |
Class<?> |
returnType() |
String |
toString() |
public final Method method
public MethodAccessImpl()
public MethodAccessImpl(Method method)
public Object invoke(Object object, Object... args)
invoke in interface MethodAccesspublic Object invokeStatic(Object... args)
invokeStatic in interface MethodAccesspublic MethodAccess bind(Object instance)
bind in interface MethodAccesspublic MethodHandle methodHandle()
methodHandle in interface MethodAccesspublic MethodAccess methodAccess()
methodAccess in interface MethodAccesspublic Object bound()
bound in interface MethodAccesspublic <T> ConstantCallSite invokeReducerLongIntReturnLongMethodHandle(T object)
invokeReducerLongIntReturnLongMethodHandle in interface MethodAccesspublic Method method()
method in interface MethodAccesspublic Iterable<AnnotationData> annotationData()
annotationData in interface Annotatedpublic boolean hasAnnotation(String annotationName)
hasAnnotation in interface Annotatedpublic AnnotationData annotation(String annotationName)
annotation in interface Annotatedpublic boolean isStatic()
isStatic in interface MethodAccesspublic String name()
name in interface MethodAccesspublic Class<?> declaringType()
declaringType in interface MethodAccesspublic Class<?> returnType()
returnType in interface MethodAccesspublic boolean respondsTo(Class<?>[] parametersToMatch)
respondsTo in interface MethodAccesspublic boolean respondsTo(Object... args)
respondsTo in interface MethodAccesspublic Class<?>[] parameterTypes()
parameterTypes in interface BaseAccesspublic Type[] getGenericParameterTypes()
getGenericParameterTypes in interface BaseAccessCopyright © 2014. All rights reserved.