Class TMethod
java.lang.Object
org.teavm.classlib.java.lang.reflect.TAccessibleObject
org.teavm.classlib.java.lang.reflect.TMethod
- All Implemented Interfaces:
TAnnotatedElement, TMember
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TAccessibleObject
getAnnotation, getAnnotations, getDeclaredAnnotations, isAccessible, setAccessible, setAccessibleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface TAnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
-
Constructor Details
-
TMethod
public TMethod(TClass<?> declaringClass, String name, int flags, int accessLevel, TClass<?> returnType, TClass<?>[] parameterTypes, MethodCaller caller)
-
-
Method Details
-
getDeclaringClass
- Specified by:
getDeclaringClassin interfaceTMember
-
getName
-
getModifiers
public int getModifiers()- Specified by:
getModifiersin interfaceTMember
-
getReturnType
-
getParameterTypes
-
getParameterCount
public int getParameterCount() -
toString
-
invoke
public Object invoke(Object obj, Object... args) throws TIllegalAccessException, TIllegalArgumentException, TInvocationTargetException -
isBridge
public boolean isBridge() -
isSynthetic
public boolean isSynthetic()- Specified by:
isSyntheticin interfaceTMember
-
isVarArgs
public boolean isVarArgs()
-