Class ConstructorInfo
java.lang.Object
cool.scx.reflect.ConstructorInfo
- All Implemented Interfaces:
AnnotatedElementInfo,ExecutableInfo,MemberInfo
ConstructorInfo
- Version:
- 0.0.1
- Author:
- scx567888
-
Method Summary
Modifier and TypeMethodDescription元素上的注解Constructor<?> <T> TnewInstance(Object... args) voidsetAccessible(boolean flag) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.reflect.AnnotatedElementInfo
allAnnotations, findAnnotation, findAnnotationFromAll, findAnnotationList, findAnnotationListFromAll
-
Method Details
-
constructor
-
newInstance
public <T> T newInstance(Object... args) throws InvocationTargetException, InstantiationException, IllegalAccessException -
classInfo
- Specified by:
classInfoin interfaceMemberInfo
-
accessModifier
- Specified by:
accessModifierin interfaceMemberInfo
-
setAccessible
public void setAccessible(boolean flag) - Specified by:
setAccessiblein interfaceMemberInfo
-
parameters
- Specified by:
parametersin interfaceExecutableInfo
-
annotations
Description copied from interface:AnnotatedElementInfo元素上的注解- Specified by:
annotationsin interfaceAnnotatedElementInfo
-