/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 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; import org.sablevm.annotations.ImplementedInVM; public final class Constructor extends AccessibleObject implements GenericDeclaration, Member { @ImplementedInVM native public Class getDeclaringClass(); @ImplementedInVM native public String getName(); @ImplementedInVM native public int getModifiers(); @ImplementedInVM native public TypeVariable>[] getTypeParameters(); @ImplementedInVM native public Class[] getParameterTypes(); @ImplementedInVM native public Type[] getGenericParameterTypes(); @ImplementedInVM native public Class[] getExceptionTypes(); @ImplementedInVM native public Type[] getGenericExceptionTypes(); @ImplementedInVM native public boolean equals(Object obj); @ImplementedInVM native public int hashCode(); @ImplementedInVM native public String toString(); @ImplementedInVM native public String toGenericString(); @ImplementedInVM native public T newInstance(Object... initargs) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException; @ImplementedInVM native public boolean isVarArgs(); @ImplementedInVM native public boolean isSynthetic(); @ImplementedInVM native public T getAnnotation( Class annotationClass); @ImplementedInVM native public Annotation[] getDeclaredAnnotations(); @ImplementedInVM native public Annotation[][] getParameterAnnotations(); }