Class ReflectMethodImpl
java.lang.Object
org.teavm.metaprogramming.impl.reflect.ReflectMethodImpl
- All Implemented Interfaces:
ReflectAnnotatedElement
,ReflectMember
,ReflectMethod
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<S extends Annotation>
SgetAnnotation(Class<S> type)
ReflectClass<?>
int
getName()
getParameterAnnotations(int index)
int
ReflectClass<?>
getParameterType(int index)
ReflectClass<?>[]
ReflectClass<?>
boolean
toString()
-
Field Details
-
method
-
-
Constructor Details
-
ReflectMethodImpl
-
-
Method Details
-
getDeclaringClass
- Specified by:
getDeclaringClass
in interfaceReflectMember
-
getName
- Specified by:
getName
in interfaceReflectMember
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in interfaceReflectMember
-
isConstructor
public boolean isConstructor()- Specified by:
isConstructor
in interfaceReflectMethod
-
getReturnType
- Specified by:
getReturnType
in interfaceReflectMethod
-
getParameterTypes
- Specified by:
getParameterTypes
in interfaceReflectMethod
-
getParameterType
- Specified by:
getParameterType
in interfaceReflectMethod
-
getParameterCount
public int getParameterCount()- Specified by:
getParameterCount
in interfaceReflectMethod
-
getAnnotation
- Specified by:
getAnnotation
in interfaceReflectAnnotatedElement
-
invoke
- Specified by:
invoke
in interfaceReflectMethod
-
construct
- Specified by:
construct
in interfaceReflectMethod
-
toString
-
getParameterAnnotations
- Specified by:
getParameterAnnotations
in interfaceReflectMethod
-