Buggy code:
public interface OpenJPAEntityManager extends EntityManager { public OpenJPAEntityManagerFactory getEntityManagerFactory ( ) { } public FetchPlan getFetchPlan ( ) { } <START_BUG> public ConnectionRetainType getConnectionRetainMode ( ) ; <END_BUG> public boolean isManaged ( ) { } public boolean getSyncWithManagedTransactions ( ) { } public void setSyncWithManagedTransactions ( boolean resync ) { } public ClassLoader getClassLoader ( ) { } public String getConnectionUserName ( ) { } public String getConnectionPassword ( ) { } public boolean getMultithreaded ( ) { } public void setMultithreaded ( boolean multi ) { } public boolean getIgnoreChanges ( ) { } public void setIgnoreChanges ( boolean ignore ) { } public boolean getNontransactionalRead ( ) { } public void setNontransactionalRead ( boolean read ) { } public boolean getNontransactionalWrite ( ) { } public void setNontransactionalWrite ( boolean write ) { } public boolean getOptimistic ( ) { } public void setOptimistic ( boolean opt ) { } public RestoreStateType getRestoreState ( ) { } public void setRestoreState ( RestoreStateType restoreType ) { } public boolean getRetainState ( ) { } public void setRetainState ( boolean retain ) { } public DetachStateType getDetachState ( ) { } public void setDetachState ( DetachStateType type ) { } public AutoClearType getAutoClear ( ) { } public void setAutoClear ( AutoClearType clearType ) { } public EnumSet < AutoDetachType > getAutoDetach ( ) { } public void setAutoDetach ( AutoDetachType value ) { } public void setAutoDetach ( EnumSet < AutoDetachType > values ) { } public void setAutoDetach ( int flag , boolean on ) { } public boolean getEvictFromStoreCache ( ) { } public void setEvictFromStoreCache ( boolean evict ) { } public boolean getPopulateStoreCache ( ) { } public void setPopulateStoreCache ( boolean cache ) { } public boolean isTrackChangesByType ( ) { } public void setTrackChangesByType ( boolean largeTransaction ) { } public Object putUserObject ( Object key , Object val ) { } public Object getUserObject ( Object key ) { } public < T > T [ ] findAll ( Class < T > cls , Object ... oids ) { } public < T > Collection < T > findAll ( Class < T > cls , Collection oids ) { } public < T > T findCached ( Class < T > cls , Object oid ) { } public Class getObjectIdClass ( Class pcClass ) { } public OpenJPAEntityTransaction getTransaction ( ) { } public void setSavepoint ( String name ) { } public void rollbackToSavepoint ( ) { } public void rollbackToSavepoint ( String name ) { } public void releaseSavepoint ( ) { } public void releaseSavepoint ( String name ) { } public void preFlush ( ) { } public void validateChanges ( ) { } public boolean isStoreActive ( ) { } public void beginStore ( ) { } public boolean containsAll ( Object ... pcs ) { } public boolean containsAll ( Collection pcs ) { } public void persistAll ( Object ... pcs ) { } public void persistAll ( Collection pcs ) { } public void removeAll ( Object ... pcs ) { } public void removeAll ( Collection pcs ) { } public void release ( Object pc ) { } public void releaseAll ( Object ... pcs ) { } public void releaseAll ( Collection pcs ) { } public void retrieve ( Object pc ) { } public void retrieveAll ( Object ... pcs ) { } public void retrieveAll ( Collection pcs ) { } public void refreshAll ( Object ... pcs ) { } public void refreshAll ( Collection pcs ) { } public void refreshAll ( ) { } public void evict ( Object pc ) { } public void evictAll ( Object ... pcs ) { } public void evictAll ( Collection pcs ) { } public void evictAll ( ) { } public void evictAll ( Class cls ) { } public void evictAll ( Extent extent ) { } public < T > T detach ( T pc ) { } public Collection detachAll ( Collection pcs ) { } public Object [ ] detachAll ( Object ... pcs ) { } public Object [ ] mergeAll ( Object ... pcs ) { } public Collection mergeAll ( Collection pcs ) { } public void transactional ( Object pc , boolean updateVersion ) { } public void transactionalAll ( Collection objs , boolean updateVersion ) { } public void transactionalAll ( Object [ ] objs , boolean updateVersion ) { } public void nontransactional ( Object pc ) { } public void nontransactionalAll ( Collection objs ) { } public void nontransactionalAll ( Object [ ] objs ) { } public Generator getNamedGenerator ( String name ) { } public Generator getIdGenerator ( Class forClass ) { } public Generator getFieldGenerator ( Class forClass , String fieldName ) { } public < T > Extent < T > createExtent ( Class < T > cls , boolean subs ) { } public OpenJPAQuery createQuery ( String query ) { } public OpenJPAQuery createNamedQuery ( String name ) { } public OpenJPAQuery createNativeQuery ( String sql ) { } public OpenJPAQuery createNativeQuery ( String sql , Class resultClass ) { } public OpenJPAQuery createNativeQuery ( String sql , String resultMapping ) { } public OpenJPAQuery createQuery ( Query query ) { } public OpenJPAQuery createQuery ( String language , String query ) { } public LockModeType getLockMode ( Object pc ) { } public void lock ( Object pc , LockModeType mode , int timeout ) { } public void lock ( Object pc ) { } public void lockAll ( Collection pcs , LockModeType mode , int timeout ) { } public void lockAll ( Collection pcs ) { } public void lockAll ( Object [ ] pcs , LockModeType mode , int timeout ) { } public void lockAll ( Object ... pcs ) { } public boolean cancelAll ( ) { }

Fix:
public ConnectionRetainMode getConnectionRetainMode ( ) ;