public class Constructor<T> extends AccessibleObject implements Member
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected int |
regIdx |
| Constructor and Description |
|---|
Constructor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
default implementation is just an identity check
|
<T extends Annotation> |
getAnnotation(Class<T> annotationCls) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
Class<T> |
getDeclaringClass() |
int |
getModifiers() |
String |
getName() |
Annotation[][] |
getParameterAnnotations() |
Class<?>[] |
getParameterTypes() |
Class<?> |
getReturnType() |
int |
hashCode() |
boolean |
isSynthetic() |
boolean |
isVarArgs() |
T |
newInstance(Object... args) |
String |
toGenericString() |
String |
toString() |
isAccessible, isAnnotationPresent, setAccessible, setAccessibleprotected int regIdx
protected String name
public T newInstance(Object... args) throws IllegalAccessException, InvocationTargetException, InstantiationException
public int getModifiers()
getModifiers in interface Memberpublic Class<?> getReturnType()
public Class<?>[] getParameterTypes()
public Class<T> getDeclaringClass()
getDeclaringClass in interface Memberpublic Annotation[] getAnnotations()
getAnnotations in class AccessibleObjectpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in class AccessibleObjectpublic <T extends Annotation> T getAnnotation(Class<T> annotationCls)
getAnnotation in class AccessibleObjectpublic Annotation[][] getParameterAnnotations()
public boolean isSynthetic()
isSynthetic in interface Memberpublic boolean equals(Object obj)
Objectpublic boolean isVarArgs()
public String toGenericString()