| Package | Description |
|---|---|
| org.dromara.hutool.core.reflect |
提供反射相关功能对象和类
|
| Modifier and Type | Method and Description |
|---|---|
static ModifierType |
ModifierType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModifierType[] |
ModifierType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ModifierUtil.hasModifier(Class<?> clazz,
ModifierType... modifierTypes)
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
|
static boolean |
ModifierUtil.hasModifier(Member member,
ModifierType... modifierTypes)
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
|
static int |
ModifierType.orToInt(ModifierType... modifierTypes)
多个修饰符做“或”操作,表示存在任意一个修饰符
|
Copyright © 2024. All rights reserved.