java.lang.reflect
Class Constructor
java.lang.Object
java.lang.reflect.AccessibleObject
java.lang.reflect.Constructor
- All Implemented Interfaces:
- AnnotatedElement, GenericDeclaration, Member
- public final class Constructor
- extends AccessibleObject
- implements GenericDeclaration, Member
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
Constructor(Class,
Class[],
Class[],
int,
int,
String,
byte[],
byte[])
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 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.