| Package | Description |
|---|---|
| com.alee.api.clone.behavior | |
| com.alee.api.merge.behavior | |
| com.alee.utils |
This package contains various utility and utility-related classes provided by 'core' module.
|
| com.alee.utils.reflection |
| Constructor and Description |
|---|
ReflectionCloneBehavior(ReflectionCloneBehavior.Policy policy,
ModifierType... ignoredModifiers)
Constructs new
ReflectionCloneBehavior ignoring fields with specified modifiers. |
| Constructor and Description |
|---|
ReflectionMergeBehavior(ReflectionMergeBehavior.Policy policy,
ModifierType... ignoredModifiers)
Constructs new
ReflectionMergeBehavior ignoring fields with specified modifiers. |
| Modifier and Type | Method and Description |
|---|---|
static List<Field> |
ReflectUtils.getFields(Class clazz,
ModifierType... ignoredModifiers)
Returns all fields in the specified class and all of its superclasses.
|
static List<Field> |
ReflectUtils.getFields(Object object,
ModifierType... ignoredModifiers)
Returns all fields in the specified object class and all of its superclasses.
|
static boolean |
ReflectUtils.hasAllOfModifiers(Class clazz,
ModifierType... modifiers)
Returns whether or not
Class has all of the specified modifiers. |
static boolean |
ReflectUtils.hasAllOfModifiers(Field field,
ModifierType... modifiers)
Returns whether or not
Field has all of the specified modifiers. |
static boolean |
ReflectUtils.hasAllOfModifiers(Method method,
ModifierType... modifiers)
Returns whether or not
Method has all of the specified modifiers. |
static boolean |
ReflectUtils.hasAnyOfModifiers(Class clazz,
ModifierType... modifiers)
Returns whether or not
Class has any of the specified modifiers. |
static boolean |
ReflectUtils.hasAnyOfModifiers(Field field,
ModifierType... modifiers)
Returns whether or not
Field has any of the specified modifiers. |
static boolean |
ReflectUtils.hasAnyOfModifiers(Method method,
ModifierType... modifiers)
Returns whether or not
Method has any of the specified modifiers. |
static boolean |
ReflectUtils.hasNoneOfModifiers(Class clazz,
ModifierType... modifiers)
Returns whether or not
Class has none of the specified modifiers. |
static boolean |
ReflectUtils.hasNoneOfModifiers(Field field,
ModifierType... modifiers)
Returns whether or not
Field has none of the specified modifiers. |
static boolean |
ReflectUtils.hasNoneOfModifiers(Method method,
ModifierType... modifiers)
Returns whether or not
Method has none of the specified modifiers. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ReflectUtils.hasAllOfModifiers(Class clazz,
Collection<ModifierType> modifiers)
Returns whether or not
Class has all of the specified modifiers. |
static boolean |
ReflectUtils.hasAllOfModifiers(Field field,
Collection<ModifierType> modifiers)
Returns whether or not
Field has all of the specified modifiers. |
static boolean |
ReflectUtils.hasAllOfModifiers(Method method,
Collection<ModifierType> modifiers)
Returns whether or not
Method has all of the specified modifiers. |
static boolean |
ReflectUtils.hasAnyOfModifiers(Class clazz,
Collection<ModifierType> modifiers)
Returns whether or not
Class has any of the specified modifiers. |
static boolean |
ReflectUtils.hasAnyOfModifiers(Field field,
Collection<ModifierType> modifiers)
Returns whether or not
Field has any of the specified modifiers. |
static boolean |
ReflectUtils.hasAnyOfModifiers(Method method,
Collection<ModifierType> modifiers)
Returns whether or not
Method has any of the specified modifiers. |
static boolean |
ReflectUtils.hasNoneOfModifiers(Class clazz,
Collection<ModifierType> modifiers)
Returns whether or not
Class has none of the specified modifiers. |
static boolean |
ReflectUtils.hasNoneOfModifiers(Field field,
Collection<ModifierType> modifiers)
Returns whether or not
Field has none of the specified modifiers. |
static boolean |
ReflectUtils.hasNoneOfModifiers(Method method,
Collection<ModifierType> modifiers)
Returns whether or not
Method has none of the specified modifiers. |
| 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 List<ModifierType> |
ModifierType.get(Class clazz)
Returns all class modifier types.
|
static List<ModifierType> |
ModifierType.get(Field field)
Returns all field modifier types.
|
static List<ModifierType> |
ModifierType.get(int modifiers)
Returns all modifier types.
|
static List<ModifierType> |
ModifierType.get(Method method)
Returns all method modifier types.
|
Copyright © 2020. All rights reserved.