net.sourceforge.retroweaver.runtime.java.lang.reflect
Class Constructor_

java.lang.Object
  extended by net.sourceforge.retroweaver.runtime.java.lang.reflect.Constructor_

public class Constructor_
extends java.lang.Object

A mirror of java.lang.reflect.Constructor. Unfortunately, although this class is almost a direct copy of Method_, there's not an easy way to share the implementation between the two, because Method and Constructor don't have any sort of typed relationship.

Author:
Toby Reyelts Date: Feb 21, 2005 Time: 2:40:01 AM

Method Summary
static
<T extends Annotation>
T
getAnnotation(java.lang.reflect.Constructor cons, java.lang.Class<T> annotationType)
           
static Annotation[] getAnnotations(java.lang.reflect.Constructor cons)
           
static Annotation[] getDeclaredAnnotations(java.lang.reflect.Constructor cons)
           
static Annotation[][] getParameterAnnotations(java.lang.reflect.Constructor cons)
           
static boolean isAnnotationPresent(java.lang.reflect.Constructor cons, java.lang.Class<? extends Annotation> annotationType)
           
static boolean isSynthetic(java.lang.reflect.Constructor cons)
           
static boolean isVarArgs(java.lang.reflect.Constructor cons)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAnnotation

public static <T extends Annotation> T getAnnotation(java.lang.reflect.Constructor cons,
                                                     java.lang.Class<T> annotationType)

getAnnotations

public static Annotation[] getAnnotations(java.lang.reflect.Constructor cons)

getDeclaredAnnotations

public static Annotation[] getDeclaredAnnotations(java.lang.reflect.Constructor cons)

isAnnotationPresent

public static boolean isAnnotationPresent(java.lang.reflect.Constructor cons,
                                          java.lang.Class<? extends Annotation> annotationType)

getParameterAnnotations

public static Annotation[][] getParameterAnnotations(java.lang.reflect.Constructor cons)

isVarArgs

public static boolean isVarArgs(java.lang.reflect.Constructor cons)

isSynthetic

public static boolean isSynthetic(java.lang.reflect.Constructor cons)