Class TConstructor<T>
java.lang.Object
org.teavm.classlib.java.lang.reflect.TAccessibleObject
org.teavm.classlib.java.lang.reflect.TConstructor<T>
- All Implemented Interfaces:
TAnnotatedElement
,TMember
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTConstructor
(TClass<T> declaringClass, String name, int modifiers, int accessLevel, TClass<?>[] parameterTypes, JSCallable callable) -
Method Summary
Modifier and TypeMethodDescriptionint
getName()
int
TClass<?>[]
boolean
boolean
newInstance
(Object... initargs) toString()
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
-
TConstructor
public TConstructor(TClass<T> declaringClass, String name, int modifiers, int accessLevel, TClass<?>[] parameterTypes, JSCallable callable)
-
-
Method Details
-
getDeclaringClass
- Specified by:
getDeclaringClass
in interfaceTMember
-
getName
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in interfaceTMember
-
isSynthetic
public boolean isSynthetic()- Specified by:
isSynthetic
in interfaceTMember
-
getParameterTypes
-
getParameterCount
public int getParameterCount() -
toString
-
newInstance
public T newInstance(Object... initargs) throws TInstantiationException, TIllegalAccessException, TIllegalArgumentException, TInvocationTargetException -
isVarArgs
public boolean isVarArgs()
-