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 TypeMethodDescriptionintgetName()intTClass<?>[]booleanbooleannewInstance(Object... initargs) toString()Methods inherited from class org.teavm.classlib.java.lang.reflect.TAccessibleObject
getAnnotation, getAnnotations, getDeclaredAnnotations, 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
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:
getDeclaringClassin interfaceTMember
-
getName
-
getModifiers
public int getModifiers()- Specified by:
getModifiersin interfaceTMember
-
isSynthetic
public boolean isSynthetic()- Specified by:
isSyntheticin interfaceTMember
-
getParameterTypes
-
getParameterCount
public int getParameterCount() -
toString
-
newInstance
public T newInstance(Object... initargs) throws TInstantiationException, TIllegalAccessException, TIllegalArgumentException, TInvocationTargetException -
isVarArgs
public boolean isVarArgs()
-