Package | Description |
---|---|
cn.hutool.core.util |
提供各种工具方法,按照归类入口为XXXUtil,如字符串工具StrUtil等
|
Modifier and Type | Method and Description |
---|---|
static ModifierUtil.ModifierType |
ModifierUtil.ModifierType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModifierUtil.ModifierType[] |
ModifierUtil.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,
ModifierUtil.ModifierType... modifierTypes)
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
|
static boolean |
ModifierUtil.hasModifier(Constructor<?> constructor,
ModifierUtil.ModifierType... modifierTypes)
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
|
static boolean |
ModifierUtil.hasModifier(Field field,
ModifierUtil.ModifierType... modifierTypes)
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
|
static boolean |
ModifierUtil.hasModifier(Method method,
ModifierUtil.ModifierType... modifierTypes)
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
|
Copyright © 2024. All rights reserved.