Index
All Classes and Interfaces|All Packages
A
- accessModifier() - Method in interface cool.scx.reflect.AccessModifierOwner
- AccessModifier - Enum Class in cool.scx.reflect
-
AccessModifier
- AccessModifierOwner - Interface in cool.scx.reflect
-
具有访问修饰符的元素
- allFields() - Method in interface cool.scx.reflect.ClassInfo
-
获取类所有字段 包括继承自父类的字段 (顺序 : 子类字段, 父类字段, 父类的父类字段... )
- allInterfaces() - Method in interface cool.scx.reflect.ClassInfo
-
获取类的所有接口 (广度遍历顺序)
- allMethods() - Method in interface cool.scx.reflect.ClassInfo
-
获取该类「最终可见」的所有方法, 包括继承自父类或接口的方法 (但不包含被覆盖的方法 或 被子类实现的抽象方法).
- allSuperClasses() - Method in interface cool.scx.reflect.ClassInfo
-
获取类的所有父类 (广度遍历顺序)
- annotatedElement() - Method in interface cool.scx.reflect.AnnotatedElementInfo
-
annotatedElement
- annotatedElement() - Method in interface cool.scx.reflect.ClassInfo
- annotatedElement() - Method in interface cool.scx.reflect.ConstructorInfo
- annotatedElement() - Method in interface cool.scx.reflect.FieldInfo
- annotatedElement() - Method in interface cool.scx.reflect.MethodInfo
- annotatedElement() - Method in interface cool.scx.reflect.ParameterInfo
- annotatedElement() - Method in interface cool.scx.reflect.RecordComponentInfo
- AnnotatedElementInfo - Interface in cool.scx.reflect
-
AnnotatedElementInfo
- ANNOTATION - Enum constant in enum class cool.scx.reflect.ClassKind
- annotations() - Method in interface cool.scx.reflect.AnnotatedElementInfo
-
获取指定元素上直接声明的注解.
- ArrayTypeInfo - Interface in cool.scx.reflect
-
ArrayTypeInfo
B
- bindings() - Method in interface cool.scx.reflect.ClassInfo
-
泛型绑定
C
- CLASS - Enum constant in enum class cool.scx.reflect.ClassKind
- ClassInfo - Interface in cool.scx.reflect
-
ClassInfo
- classKind() - Method in interface cool.scx.reflect.ClassInfo
-
类的类型
- ClassKind - Enum Class in cool.scx.reflect
-
ClassKind
- componentType() - Method in interface cool.scx.reflect.ArrayTypeInfo
-
组件类型, 此处只表示 当前组件的类型, 即对于多维数组 例如 String[][] 再此处拿到的是 String[]
- ConstructorInfo - Interface in cool.scx.reflect
-
ConstructorInfo
- constructors() - Method in interface cool.scx.reflect.ClassInfo
-
构造参数列表
- cool.scx.reflect - package cool.scx.reflect
D
- declaringClass() - Method in interface cool.scx.reflect.MemberInfo
-
持有当前 成员的 ClassInfo
- declaringClass() - Method in interface cool.scx.reflect.RecordComponentInfo
-
持有当前 成员的 ClassInfo
- declaringExecutable() - Method in interface cool.scx.reflect.ParameterInfo
-
持有当前参数的执行器
- defaultConstructor() - Method in interface cool.scx.reflect.ClassInfo
-
默认构造函数 (无参构造函数) 可能为空
E
- ENUM - Enum constant in enum class cool.scx.reflect.ClassKind
- enumClass() - Method in interface cool.scx.reflect.ClassInfo
-
枚举类型 (如果类是枚举的 匿名子类 的话, 可以正确获取到真正的枚举类型)
- ExecutableInfo - Interface in cool.scx.reflect
-
表示 可执行的 比如 普通方法 或 构造方法
F
- FieldInfo - Interface in cool.scx.reflect
-
FieldInfo
- fields() - Method in interface cool.scx.reflect.ClassInfo
-
字段列表
- fieldType() - Method in interface cool.scx.reflect.FieldInfo
-
字段本身的类型
- findAnnotation(Class<T>) - Method in interface cool.scx.reflect.AnnotatedElementInfo
-
查找指定类型的注解 (从直接注解上)
- findAnnotations(Class<T>) - Method in interface cool.scx.reflect.AnnotatedElementInfo
-
查找所有指定类型的注解 (从直接注解上)
- findSuperType(Class<?>) - Method in interface cool.scx.reflect.ClassInfo
-
返回指定类型的 父级 ClassInfo 支持常规类,抽象类,接口
G
- get(int) - Method in interface cool.scx.reflect.TypeBindings
- get(Object) - Method in interface cool.scx.reflect.FieldInfo
- get(Object) - Method in interface cool.scx.reflect.RecordComponentInfo
-
获取内容
- get(TypeVariable<?>) - Method in interface cool.scx.reflect.TypeBindings
- get(String) - Method in interface cool.scx.reflect.TypeBindings
- getType() - Method in class cool.scx.reflect.TypeReference
- getType(TypeReference<?>) - Static method in class cool.scx.reflect.ScxReflect
-
根据 TypeReference 获取 TypeInfo
- getType(Class<?>) - Static method in class cool.scx.reflect.ScxReflect
-
根据 Class 获取 TypeInfo
- getType(Type) - Static method in class cool.scx.reflect.ScxReflect
-
根据 Type 获取 TypeInfo
I
- INTERFACE - Enum constant in enum class cool.scx.reflect.ClassKind
- interfaces() - Method in interface cool.scx.reflect.ClassInfo
-
接口列表
- invoke(Object, Object...) - Method in interface cool.scx.reflect.MethodInfo
- isAbstract() - Method in interface cool.scx.reflect.ClassInfo
- isAbstract() - Method in interface cool.scx.reflect.MethodInfo
-
isAbstract
- isAnonymousClass() - Method in interface cool.scx.reflect.ClassInfo
-
是否 匿名类
- isDefault() - Method in interface cool.scx.reflect.MethodInfo
-
isDefault
- isEmpty() - Method in interface cool.scx.reflect.TypeBindings
- isFinal() - Method in interface cool.scx.reflect.ClassInfo
-
是否 final 类
- isFinal() - Method in interface cool.scx.reflect.FieldInfo
-
是否为 final 字段
- isFinal() - Method in interface cool.scx.reflect.MethodInfo
-
是否为 final 方法
- isMemberClass() - Method in interface cool.scx.reflect.ClassInfo
-
是否 内部类
- isNative() - Method in interface cool.scx.reflect.MethodInfo
-
isNative
- isStatic() - Method in interface cool.scx.reflect.ClassInfo
-
是否 静态类
- isStatic() - Method in interface cool.scx.reflect.FieldInfo
-
是否 静态 字段
- isStatic() - Method in interface cool.scx.reflect.MethodInfo
-
是否为 static 方法
M
- MemberInfo - Interface in cool.scx.reflect
-
MemberInfo
- MethodInfo - Interface in cool.scx.reflect
-
MethodInfo
- methods() - Method in interface cool.scx.reflect.ClassInfo
-
方法列表
N
- name() - Method in interface cool.scx.reflect.ClassInfo
-
类名
- name() - Method in interface cool.scx.reflect.FieldInfo
-
字段名称
- name() - Method in interface cool.scx.reflect.MethodInfo
-
名称
- name() - Method in interface cool.scx.reflect.ParameterInfo
-
名称
- name() - Method in interface cool.scx.reflect.RecordComponentInfo
-
name
- newInstance(Object...) - Method in interface cool.scx.reflect.ConstructorInfo
P
- PACKAGE_PRIVATE - Enum constant in enum class cool.scx.reflect.AccessModifier
- ParameterInfo - Interface in cool.scx.reflect
-
ParameterInfo
- parameters() - Method in interface cool.scx.reflect.ExecutableInfo
- parameterType() - Method in interface cool.scx.reflect.ParameterInfo
-
参数本身的类型
- PrimitiveTypeInfo - Interface in cool.scx.reflect
-
PrimitiveTypeInfo
- PRIVATE - Enum constant in enum class cool.scx.reflect.AccessModifier
- PROTECTED - Enum constant in enum class cool.scx.reflect.AccessModifier
- PUBLIC - Enum constant in enum class cool.scx.reflect.AccessModifier
R
- rawClass() - Method in interface cool.scx.reflect.TypeInfo
-
获取原始类
- rawConstructor() - Method in interface cool.scx.reflect.ConstructorInfo
-
获取原始的 构造函数
- rawField() - Method in interface cool.scx.reflect.FieldInfo
-
原始 Field
- rawMethod() - Method in interface cool.scx.reflect.MethodInfo
-
原始 Method
- rawParameter() - Method in interface cool.scx.reflect.ParameterInfo
-
原始 Parameter
- rawRecordComponent() - Method in interface cool.scx.reflect.RecordComponentInfo
-
原始 RecordComponent
- RECORD - Enum constant in enum class cool.scx.reflect.ClassKind
- RecordComponentInfo - Interface in cool.scx.reflect
- recordComponents() - Method in interface cool.scx.reflect.ClassInfo
-
Record 组件列表 (如果是 Record 类型)
- recordComponentType() - Method in interface cool.scx.reflect.RecordComponentInfo
-
组件的类型
- recordConstructor() - Method in interface cool.scx.reflect.ClassInfo
-
Record 规范构造参数 可能为空
- returnType() - Method in interface cool.scx.reflect.MethodInfo
-
返回值
S
- ScxReflect - Class in cool.scx.reflect
- ScxReflect() - Constructor for class cool.scx.reflect.ScxReflect
- set(Object, Object) - Method in interface cool.scx.reflect.FieldInfo
- setAccessible(boolean) - Method in interface cool.scx.reflect.ConstructorInfo
- setAccessible(boolean) - Method in interface cool.scx.reflect.FieldInfo
- setAccessible(boolean) - Method in interface cool.scx.reflect.MemberInfo
-
允许访问
- setAccessible(boolean) - Method in interface cool.scx.reflect.MethodInfo
- size() - Method in interface cool.scx.reflect.TypeBindings
- superClass() - Method in interface cool.scx.reflect.ClassInfo
-
父类 可能为空
- superMethod() - Method in interface cool.scx.reflect.MethodInfo
-
获取当前方法重写的父类的方法 (可能为空)
T
- TypeBindings - Interface in cool.scx.reflect
-
TypeBindings
- TypeInfo - Interface in cool.scx.reflect
-
在一个支持泛型的语言 (例如 Java) 中, 如果仅从理论 (语义) 层面来看, 一个类型 (Type) 可以被视为「类型构造器」 (Type Constructor) 与「类型参数」 (Type Arguments) 的组合 :
- typeInfos() - Method in interface cool.scx.reflect.TypeBindings
- TypeReference<T> - Class in cool.scx.reflect
-
TypeReference
- TypeReference() - Constructor for class cool.scx.reflect.TypeReference
- typeVariables() - Method in interface cool.scx.reflect.TypeBindings
V
- valueOf(String) - Static method in enum class cool.scx.reflect.AccessModifier
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.reflect.ClassKind
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cool.scx.reflect.AccessModifier
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.reflect.ClassKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
_
- _type - Variable in class cool.scx.reflect.TypeReference
All Classes and Interfaces|All Packages