Buggy code:
@ Override public boolean isDeleted ( ) throws NullCursorException { } @ Override public boolean isExcluded ( ) throws NullCursorException { } @ Override public boolean isHidden ( ) throws NullCursorException { } @ Override public boolean isIncluded ( ) throws NullCursorException { } @ Override public boolean isUpdated ( ) throws NullCursorException { } @ Override public boolean isVersioned ( ) { } Iterable < AttributeDef > getNonNullAttributeList ( ) throws NullCursorException { } private EntityInstanceImpl getScopingEntityInstance ( EntityDef scopingEntity ) { } @ Override public CursorResult setFirst ( ) { } @ Override public CursorResult setFirst ( String scopingEntityName ) { } @ Override public CursorResult setFirst ( EntityDef scopingEntity ) { } @ Override public CursorResult setFirst ( String attributeName , Object value ) { } @ Override public CursorResult setFirst ( AttributeDef attribute , Object value ) { } @ Override public CursorResult setFirst ( String attributeName , Object value , String scopingEntityName ) { } @ Override public CursorResult setFirst ( AttributeDef attribute , Object value , EntityDef scopingEntity ) { } @ Override public CursorResult setNextContinue ( ) { } @ Override public CursorResult setNext ( ) { } @ Override public CursorResult setNext ( String scopingEntityName ) { } @ Override public CursorResult setNext ( EntityDef scopingEntity ) { } @ Override public CursorResult setNext ( String attributeName , Object value ) { } @ Override public CursorResult setNext ( AttributeDef attribute , Object value ) { } @ Override public CursorResult setNext ( String attributeName , Object value , String scopingEntityName ) { } @ Override public CursorResult setNext ( AttributeDef attribute , Object value , EntityDef scopingEntity ) { } @ Override public CursorResult setLast ( ) { } @ Override public CursorResult setPrevContinue ( ) { } @ Override public CursorResult setByEntityKey ( long entityKey ) { } @ Override public CursorResult setPosition ( int position ) { } @ Override public CursorResult setPosition ( int position , String scopingEntityName ) { } Iterable < EntityCursorImpl > getChildCursors ( ) { } @ Override public EntityInstance acceptSubobject ( ) { } @ Override public EntityInstance cancelSubobject ( ) { } @ Override public void acceptTemporalEntity ( ) { } @ Override public CursorResult cancelTemporalEntity ( CursorPosition position ) { } @ Override public CursorResult cancelTemporalEntity ( ) { } @ Override public CursorResult dropEntity ( ) { } @ Override public CursorResult dropEntity ( CursorPosition position ) { } void setCreated ( boolean isCreated ) { } void setUpdated ( boolean isUpdated ) { } @ Override public boolean isNull ( ) { } private static final class ChildIterable implements Iterable < EntityCursorImpl > { private final EntityCursorImpl cursor ; private ChildIterable ( EntityCursorImpl start ) { } @ Override public Iterator < EntityCursorImpl > iterator ( ) { } } private static class SortKey { AttributeDef attributeDef ; boolean ascending ; String context ; SortKey ( AttributeDef AttributeDef , boolean ascending , String context ) { } } private static class EntitySorter implements Serializable , Comparator < EntityInstanceImpl > { private static final long serialVersionUID = 1L ; private final List < EntityCursorImpl . SortKey > sortAttribs ; EntitySorter ( List < EntityCursorImpl . SortKey > sortAttribs ) { } private EntityInstanceImpl findMatchingChild ( EntityInstanceImpl parent , EntityDef sortEntity ) { } @ Override public int compare ( EntityInstanceImpl ei1 , EntityInstanceImpl ei2 ) { } } private List < EntityCursorImpl . SortKey > parseOrderKeys ( String orderKeys ) { } @ Override public void orderEntities ( String orderKeys ) { } @ SuppressWarnings ( "unchecked" ) @ Override public void orderEntities ( Comparator < ? extends EntityInstance > comparator ) { } @ Override public CursorResult checkExistenceOfEntity ( ) { } @ Override public String toString ( ) { } @ Override public void setToSubobject ( ) { if ( ( entityDef . getParent ( ) ) == null ) throw new ZeidonException ( "Entity<seq2seq4repair_space>%s<seq2seq4repair_space>is<seq2seq4repair_space>the<seq2seq4repair_space>root<seq2seq4repair_space>of<seq2seq4repair_space>the<seq2seq4repair_space>LodDef" , getEntityDef ( ) ) ; if ( ! ( entityDef . isRecursive ( ) ) ) <START_BUG> throw new ZeidonException ( "Entity<seq2seq4repair_space>%s<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>recursive" ) ; <END_BUG> EntityInstanceImpl ei = getEntityInstance ( ) ; EntityInstanceImpl parentOfSubobject = getParentCursor ( ) . getExistingInstance ( ) ; EntityDef recursiveParentEntityDef = getEntityDef ( ) . getRecursiveParentEntityDef ( ) ; viewCursor . setRecursiveParent ( ei , getEntityDef ( ) , parentOfSubobject ) ; viewCursor . getEntityCursor ( recursiveParentEntityDef ) . resetChildCursors ( ei ) ; } @ Override public boolean resetSubobjectToParent ( ) { } EntityCursorImpl getParentCursor ( ) { } @ Override public int getEntityCount ( ) throws NullCursorException { } @ Override public EntityIterator < ? extends EntityInstance > getChildren ( EntityDef childEntityDef ) { } @ Override public EntityIterator < ? extends EntityInstance > getChildren ( EntityDef childEntityDef , boolean allowHidden ) { } @ Override public EntityIterator < ? extends EntityInstance > getChildren ( String childEntityName ) { } @ Override public EntityIterator < EntityInstanceImpl > getChildrenHier ( boolean includeParent ) { } @ Override public EntityIterator < EntityInstanceImpl > getChildrenHier ( boolean includeParent , boolean excludeHidden , boolean forceLazyLoad ) { } @ Override public SetMatchingFlagsBuilder setMatchingAttributesByName ( ) { } @ Override public boolean isDbhCreated ( ) { } @ Override public boolean isDbhDeleted ( ) { } @ Override public boolean isDbhExcluded ( ) { } @ Override public boolean isDbhUpdated ( ) { } @ Override public boolean isDbhIncluded ( ) { } @ Override public boolean isDbhNeedsInclude ( ) { } @ Override public boolean isDbhSeqUpdated ( ) { } @ Override public boolean isDbhGenKeyNeeded ( ) { } @ Override public boolean isDbhNoGenKey ( ) { } @ Override public boolean isDbhForeignKey ( ) { } @ Override public long getEntityKey ( ) { } @ Override public long getObjectInstanceId ( ) { } @ Override public UUID getEntityUuid ( ) { } @ Override public UUID getObjectInstanceUuid ( ) { } @ Override public EntityInstance setAttribute ( AttributeDef attributeDef , Object value ) { }

Fix:
throw new ZeidonException ( "Entity<seq2seq4repair_space>%s<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>recursive" , entityDef ) ;