public enum GeneratedProxyClass extends Enum<GeneratedProxyClass>
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
from(String packageName,
Set<Class> interfaces,
String className,
ClassLoader classLoader)
Generates a proxy class based on the given interfaces and other parameters.
|
static GeneratedProxyClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneratedProxyClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static GeneratedProxyClass[] values()
for (GeneratedProxyClass c : GeneratedProxyClass.values()) System.out.println(c);
public static GeneratedProxyClass 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 Class<?> from(String packageName, Set<Class> interfaces, String className, ClassLoader classLoader)
packageName - The package name for the generated proxy class.interfaces - A set containing the interface classes that the proxy should implement.className - The name of the generated proxy class.classLoader - The class loader used to define the proxy class.Copyright © 2024. All rights reserved.