Class ManObjectExt


  • public class ManObjectExt
    extends Object
    • Constructor Detail

      • ManObjectExt

        public ManObjectExt()
    • 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 calling new Foobar[0] in your code.
        
         Foobar[] empty = Foobar.emptyArray();