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 org.teavm.classlib.java.lang.reflect.TAccessibleObject
getAnnotation, getAnnotations, getDeclaredAnnotations, isAccessible, setAccessible, setAccessible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.teavm.classlib.java.lang.reflect.TAnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
-
Constructor Details
-
TMethod
public TMethod(TClass<?> declaringClass, String name, int flags, int accessLevel, TClass<?> returnType, TClass<?>[] parameterTypes, JSCallable callable)
-
-
Method Details
-
getDeclaringClass
- Specified by:
getDeclaringClass
in interfaceTMember
-
getName
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in 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:
isSynthetic
in interfaceTMember
-
isVarArgs
public boolean isVarArgs()
-