JML

java.lang.reflect
Class Constructor

java.lang.Object
  extended byjava.lang.reflect.AccessibleObject
      extended byjava.lang.reflect.Constructor
All Implemented Interfaces:
AnnotatedElement, GenericDeclaration, Member

public final class Constructor
extends AccessibleObject
implements GenericDeclaration, Member


Field Summary
private  byte[] annotations
           
private  Class clazz
           
private  sun.reflect.ConstructorAccessor constructorAccessor
           
private  Map declaredAnnotations
           
private static Annotation[] EMPTY_ANNOTATION_ARRAY
           
private  Class[] exceptionTypes
           
private  sun.reflect.generics.repository.ConstructorRepository genericInfo
           
private static int LANGUAGE_MODIFIERS
           
private  int modifiers
           
private  byte[] parameterAnnotations
           
private  Class[] parameterTypes
           
private  Constructor root
           
private  Class securityCheckCache
           
private  String signature
           
private  int slot
           
 
Fields inherited from class java.lang.reflect.AccessibleObject
override, reflectionFactory
 
Fields inherited from interface java.lang.reflect.Member
DECLARED, PUBLIC
 
Constructor Summary
(package private) Constructor(Class, Class[], Class[], int, int, String, byte[], byte[])
           
 
Method Summary
private  void acquireConstructorAccessor()
           
(package private)  Constructor copy()
           
private  Map declaredAnnotations()
           
 boolean equals(Object)
           
 Annotation getAnnotation(Class)
           
(package private)  sun.reflect.ConstructorAccessor getConstructorAccessor()
           
 Annotation[] getDeclaredAnnotations()
           
 Class getDeclaringClass()
           
 Class[] getExceptionTypes()
           
private  sun.reflect.generics.factory.GenericsFactory getFactory()
           
 Type[] getGenericExceptionTypes()
           
private  sun.reflect.generics.repository.ConstructorRepository getGenericInfo()
           
 Type[] getGenericParameterTypes()
           
 int getModifiers()
           
 String getName()
           
 Annotation[][] getParameterAnnotations()
           
 Class[] getParameterTypes()
           
(package private)  byte[] getRawAnnotations()
           
(package private)  byte[] getRawParameterAnnotations()
           
(package private)  String getSignature()
           
(package private)  int getSlot()
           
 TypeVariable[] getTypeParameters()
           
 int hashCode()
           
 boolean isSynthetic()
           
 boolean isVarArgs()
           
 Object newInstance(Object[])
           
(package private)  void setConstructorAccessor(sun.reflect.ConstructorAccessor)
           
 String toGenericString()
           
 String toString()
           
 
Methods inherited from class java.lang.reflect.AccessibleObject
getAnnotations, isAccessible, isAnnotationPresent, setAccessible, setAccessible
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

slot

private int slot

modifiers

private int modifiers

EMPTY_ANNOTATION_ARRAY

private static final Annotation[] EMPTY_ANNOTATION_ARRAY

parameterAnnotations

private byte[] parameterAnnotations

declaredAnnotations

private transient Map declaredAnnotations

securityCheckCache

private volatile Class securityCheckCache

exceptionTypes

private Class[] exceptionTypes

signature

private transient String signature

clazz

private Class clazz

LANGUAGE_MODIFIERS

private static final int LANGUAGE_MODIFIERS

genericInfo

private transient sun.reflect.generics.repository.ConstructorRepository genericInfo

annotations

private byte[] annotations

root

private Constructor root

constructorAccessor

private volatile sun.reflect.ConstructorAccessor constructorAccessor

parameterTypes

private Class[] parameterTypes
Constructor Detail

Constructor

Constructor(Class,
            Class[],
            Class[],
            int,
            int,
            String,
            byte[],
            byte[])
Method Detail

getFactory

private sun.reflect.generics.factory.GenericsFactory getFactory()

getGenericInfo

private sun.reflect.generics.repository.ConstructorRepository getGenericInfo()

copy

Constructor copy()

getDeclaringClass

public Class getDeclaringClass()
Specified by:
getDeclaringClass in interface Member

getName

public String getName()
Specified by:
getName in interface Member

getModifiers

public int getModifiers()
Specified by:
getModifiers in interface Member

getTypeParameters

public TypeVariable[] getTypeParameters()
Specified by:
getTypeParameters in interface GenericDeclaration

getParameterTypes

public Class[] getParameterTypes()

getGenericParameterTypes

public Type[] getGenericParameterTypes()

getExceptionTypes

public Class[] getExceptionTypes()

getGenericExceptionTypes

public Type[] getGenericExceptionTypes()

equals

public boolean equals(Object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

toGenericString

public String toGenericString()

newInstance

public transient Object newInstance(Object[])
                             throws InstantiationException,
                                    IllegalAccessException,
                                    IllegalArgumentException,
                                    InvocationTargetException
Throws:
InstantiationException
IllegalAccessException
IllegalArgumentException
InvocationTargetException

isVarArgs

public boolean isVarArgs()

isSynthetic

public boolean isSynthetic()
Specified by:
isSynthetic in interface Member

acquireConstructorAccessor

private void acquireConstructorAccessor()

getConstructorAccessor

sun.reflect.ConstructorAccessor getConstructorAccessor()

setConstructorAccessor

void setConstructorAccessor(sun.reflect.ConstructorAccessor)

getSlot

int getSlot()

getSignature

String getSignature()

getRawAnnotations

byte[] getRawAnnotations()

getRawParameterAnnotations

byte[] getRawParameterAnnotations()

getAnnotation

public Annotation getAnnotation(Class)
Specified by:
getAnnotation in interface AnnotatedElement
Overrides:
getAnnotation in class AccessibleObject

getDeclaredAnnotations

public Annotation[] getDeclaredAnnotations()
Specified by:
getDeclaredAnnotations in interface AnnotatedElement
Overrides:
getDeclaredAnnotations in class AccessibleObject

declaredAnnotations

private Map declaredAnnotations()

getParameterAnnotations

public Annotation[][] getParameterAnnotations()

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.