373839404142434445
/** * Returns a statically cached objenesis instance */ public static Objenesis getStaticObjenesis() { if( OBJENESIS_INSTANCE == null ) { OBJENESIS_INSTANCE = new ObjenesisStd(true); } return OBJENESIS_INSTANCE; }
46474849505152
/** * Returns a newly instantiated objenesis instance */ public static Objenesis getDefaultObjenesis() { return new ObjenesisStd(true); }
255256257258259260261
/** * Creates Objenesis instance for the RuleBase. * @return a standart Objenesis instanse with caching turned on. */ protected Objenesis createObjenesis() { return new ObjenesisStd(true); }