Modifier | Constructor and Description |
---|---|
protected |
ClassSharedSecrets()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
abstract Method |
getDeclaredMethod(Class<?> cl,
Class<?> returnType,
String name,
Class<?>[] parameterTypes)
Exposes non-public API of
Class . |
static ClassSharedSecrets |
getSingleton()
Returns the singleton instance.
|
static void |
register(ClassSharedSecrets css)
Registers the singleton instance.
|
public static final void register(ClassSharedSecrets css)
IllegalArgumentException
- if css == null
IllegalStateException
- if this method has been called before.css
- the singletonpublic static final ClassSharedSecrets getSingleton()
public abstract Method getDeclaredMethod(Class<?> cl, Class<?> returnType, String name, Class<?>[] parameterTypes) throws NoSuchMethodException
Class
.NoSuchMethodException
Class.getDeclaredMethod(Class, String, Class[])
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.