public class MethodAdaptor extends Object
Constructor and Description |
---|
MethodAdaptor(Constructor<?> c) |
MethodAdaptor(Method m) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Class<?> |
getDeclaringClass() |
String |
getName() |
Class<?>[] |
getParameterTypes() |
Class<?> |
getReturnType() |
AccessibleObject |
getUnderlyingObject() |
int |
hashCode() |
Object |
invoke(Object obj,
Object... args) |
boolean |
needsThis()
Indicates whether or not a "this" object is required to invoke the Method
or Constructor.
|
String |
toString() |
public MethodAdaptor(Constructor<?> c)
public MethodAdaptor(Method m)
public Class<?> getDeclaringClass()
public String getName()
public Class<?>[] getParameterTypes()
public Class<?> getReturnType()
public AccessibleObject getUnderlyingObject()
public Object invoke(Object obj, Object... args) throws InstantiationException, InvocationTargetException, IllegalAccessException
public boolean needsThis()
Copyright © 2018. All rights reserved.