Class TMethod
java.lang.Object
org.teavm.classlib.java.lang.reflect.TAccessibleObject
org.teavm.classlib.java.lang.reflect.TExecutable
org.teavm.classlib.java.lang.reflect.TMethod
- All Implemented Interfaces:
TAnnotatedElement,TGenericDeclaration,TMember
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTMethod(TClass<?> declaringClass, String name, int flags, int accessLevel, TClass<?> returnType, Object genericReturnType, TClass<?>[] parameterTypes, Object[] genericParameterTypes, MethodCaller caller, Annotation[] declaredAnnotations, TTypeVariableImpl[] typeParameters) -
Method Summary
Methods inherited from class org.teavm.classlib.java.lang.reflect.TExecutable
getDeclaredAnnotations, getDeclaringClass, getGenericParameterTypes, getModifiers, getParameterCount, getParameterTypes, getTypeParameters, isSynthetic, isVarArgsMethods inherited from class org.teavm.classlib.java.lang.reflect.TAccessibleObject
getAnnotation, getAnnotations, getDeclaredAnnotation, isAccessible, setAccessible, setAccessibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teavm.classlib.java.lang.reflect.TAnnotatedElement
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresentMethods inherited from interface org.teavm.classlib.java.lang.reflect.TMember
getDeclaringClass, getModifiers, isSynthetic
-
Constructor Details
-
TMethod
public TMethod(TClass<?> declaringClass, String name, int flags, int accessLevel, TClass<?> returnType, Object genericReturnType, TClass<?>[] parameterTypes, Object[] genericParameterTypes, MethodCaller caller, Annotation[] declaredAnnotations, TTypeVariableImpl[] typeParameters)
-
-
Method Details
-
getName
-
getReturnType
-
getGenericReturnType
-
toString
-
invoke
public Object invoke(Object obj, Object... args) throws TIllegalAccessException, TIllegalArgumentException, TInvocationTargetException -
isBridge
public boolean isBridge()
-