public enum HibernateOrmReflectionStrategyName extends Enum<HibernateOrmReflectionStrategyName>
| Enum Constant and Description |
|---|
JAVA_LANG_REFLECT
Use
java.lang.reflect directly for reflection,
such as calling a method dynamically. |
METHOD_HANDLE
Use
java.lang.invoke for reflection,
such as calling a method dynamically. |
| Modifier and Type | Method and Description |
|---|---|
static HibernateOrmReflectionStrategyName |
of(String value) |
static HibernateOrmReflectionStrategyName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HibernateOrmReflectionStrategyName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HibernateOrmReflectionStrategyName JAVA_LANG_REFLECT
java.lang.reflect directly for reflection,
such as calling a method dynamically.public static final HibernateOrmReflectionStrategyName METHOD_HANDLE
java.lang.invoke for reflection,
such as calling a method dynamically.
This means using MethodHandles.Lookup and MethodHandle
in particular.public static HibernateOrmReflectionStrategyName[] values()
for (HibernateOrmReflectionStrategyName c : HibernateOrmReflectionStrategyName.values()) System.out.println(c);
public static HibernateOrmReflectionStrategyName valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static HibernateOrmReflectionStrategyName of(String value)
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.