public class ManObjectExt
extends java.lang.Object
| Constructor and Description |
|---|
ManObjectExt() |
| Modifier and Type | Method and Description |
|---|---|
static <E> E[] |
emptyArray(java.lang.Class<E> callingClass)
Get a cached empty array value for this class.
|
static java.lang.Object |
jailbreak(java.lang.Object thiz)
Use this method to type-safely access private and other inaccessible members of the receiver of the call.
|
public static java.lang.Object jailbreak(java.lang.Object thiz)
Jailbreakpublic static <E> E[] emptyArray(java.lang.Class<E> callingClass)
new Foobar[0] in your code.
Foobar[] empty = Foobar.emptyArray();
Copyright © 2024. All rights reserved.