Class ManObjectExt
- java.lang.Object
-
- manifold.ext.rt.extensions.java.lang.Object.ManObjectExt
-
public class ManObjectExt extends Object
-
-
Constructor Summary
Constructors Constructor Description ManObjectExt()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> E[]emptyArray(Class<E> callingClass)Get a cached empty array value for this class.static Objectjailbreak(Object thiz)Use this method to type-safely access private and other inaccessible members of the receiver of the call.
-
-
-
Method Detail
-
jailbreak
public static Object jailbreak(Object thiz)
Use this method to type-safely access private and other inaccessible members of the receiver of the call.- See Also:
Jailbreak
-
emptyArray
public static <E> E[] emptyArray(Class<E> callingClass)
Get a cached empty array value for this class. Use this method to avoid callingnew Foobar[0]in your code.Foobar[] empty = Foobar.emptyArray();
-
-