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, setAccessible
protected int regIdx
protected String name
public T newInstance(Object... args) throws IllegalAccessException, InvocationTargetException, InstantiationException
public int getModifiers()
getModifiers
in interface Member
public Class<?> getReturnType()
public Class<?>[] getParameterTypes()
public Class<T> getDeclaringClass()
getDeclaringClass
in interface Member
public Annotation[] getAnnotations()
getAnnotations
in class AccessibleObject
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in class AccessibleObject
public <T extends Annotation> T getAnnotation(Class<T> annotationCls)
getAnnotation
in class AccessibleObject
public Annotation[][] getParameterAnnotations()
public boolean isSynthetic()
isSynthetic
in interface Member
public boolean equals(Object obj)
Object
public boolean isVarArgs()
public String toGenericString()