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