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, MethodCaller caller) -
Method Summary
Modifier and TypeMethodDescriptionintgetName()intTClass<?>[]booleanbooleannewInstance(Object... initargs) toString()Methods inherited from class TAccessibleObject
getAnnotation, getAnnotations, getDeclaredAnnotations, isAccessible, setAccessible, setAccessibleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface TAnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
-
Constructor Details
-
TConstructor
public TConstructor(TClass<T> declaringClass, String name, int modifiers, int accessLevel, TClass<?>[] parameterTypes, MethodCaller caller)
-
-
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()
-