public class TMethod extends TAccessibleObject implements TMember
Constructor and Description |
---|
TMethod(TClass<?> declaringClass,
String name,
int flags,
int accessLevel,
TClass<?> returnType,
TClass<?>[] parameterTypes,
JSCallable callable) |
Modifier and Type | Method and Description |
---|---|
TClass<?> |
getDeclaringClass() |
int |
getModifiers() |
String |
getName() |
int |
getParameterCount() |
TClass<?>[] |
getParameterTypes() |
TClass<?> |
getReturnType() |
Object |
invoke(Object obj,
Object... args) |
boolean |
isBridge() |
boolean |
isSynthetic() |
boolean |
isVarArgs() |
String |
toString() |
getAnnotation, getAnnotations, getDeclaredAnnotations, isAccessible, setAccessible, setAccessible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
public TMethod(TClass<?> declaringClass, String name, int flags, int accessLevel, TClass<?> returnType, TClass<?>[] parameterTypes, JSCallable callable)
public TClass<?> getDeclaringClass()
getDeclaringClass
in interface TMember
public int getModifiers()
getModifiers
in interface TMember
public TClass<?> getReturnType()
public TClass<?>[] getParameterTypes()
public int getParameterCount()
public Object invoke(Object obj, Object... args) throws TIllegalAccessException, TIllegalArgumentException, TInvocationTargetException
public boolean isBridge()
public boolean isSynthetic()
isSynthetic
in interface TMember
public boolean isVarArgs()
Copyright © 2019. All rights reserved.