介紹
java.lang.reflect.Executable
public abstract sealed class Executable extends AccessibleObject implements Member, GenericDeclaration permits Constructor, Method
- 密封類
Method
和Constructor
的通用功能的父類
API
常量
- getParameterTypes
- getParameterCount
- getGenericParameterTypes
- getParameters
- getExceptionTypes
- getGenericExceptionTypes
- toGenericString
- isVarArgs
- getParameterAnnotations
- getAnnotatedReturnType
- getAnnotatedReceiverType
- 接收方
- getAnnotatedParameterTypes
- getAnnotatedExceptionTypes