/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang.reflect; import java.lang.annotation.Annotation; public final class Constructor extends AccessibleObject implements GenericDeclaration, Member { native public Class getDeclaringClass(); native public String getName(); native public int getModifiers(); native public TypeVariable>[] getTypeParameters(); native public Class[] getParameterTypes(); native public Type[] getGenericParameterTypes(); native public Class[] getExceptionTypes(); native public Type[] getGenericExceptionTypes(); native public boolean equals(Object obj); native public int hashCode(); native public String toString(); native public String toGenericString(); native public T newInstance(Object... initargs) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException; native public boolean isVarArgs(); native public boolean isSynthetic(); native public T getAnnotation( Class annotationClass); native public Annotation[] getDeclaredAnnotations(); native public Annotation[][] getParameterAnnotations(); private Constructor() { } }