Buggy code:
protected PersistenceMetaDataDefaults . SetterFilter setterFilter = new PersistenceMetaDataDefaults . SetterFilter ( ) ; public PersistenceMetaDataDefaults ( ) { } public static PersistenceStrategy . PersistenceStrategy getPersistenceStrategy ( FieldMetaData fmd , Member member ) { } public void setDefaultAccessType ( String type ) { } @ Override public void populate ( ClassMetaData meta , int access ) { } @ Override protected void populate ( FieldMetaData fmd ) { } static void setCascadeNone ( ValueMetaData vmd ) { } ClassMetaData getCachedSuperclassMetaData ( ClassMetaData meta ) { } private int determineAccessType ( ClassMetaData meta ) { } private int determineImplicitAccessType ( Class < ? > cls ) { } private int determineExplicitAccessType ( Class < ? > cls ) { } private List < Method > matchGetterAndSetter ( List < Method > getters , List < Method > setters ) { } List < Field > getPersistentFields ( ClassMetaData meta ) { } List < Method > getPersistentMethods ( ClassMetaData meta ) { } @ Override public List < Member > getPersistentMembers ( ClassMetaData meta ) { } void assertNoDuplicate ( List < Field > fields , List < Method > getters ) { } void error ( ClassMetaData meta , Localizer . Message message ) { } void warn ( ClassMetaData meta , Localizer . Message message ) { } @ Override protected List < String > getFieldAccessNames ( ClassMetaData meta ) { } @ Override protected List < String > getPropertyAccessNames ( ClassMetaData meta ) { } protected boolean isDefaultPersistent ( ClassMetaData meta , Member member , String name ) { } private boolean isAnnotatedTransient ( Member member ) { } private boolean isAnnotatedAccess ( Member member , AccessType type ) { } private boolean isAnnotated ( Member member ) { } private boolean isNotTransient ( Member member ) { } public Member getMemberByProperty ( ClassMetaData meta , String property , int access , boolean applyDefaultRule ) { Class < ? > cls = meta . getDescribedType ( ) ; Field field = Reflection . findField ( cls , property , false ) ; Method getter = Reflection . findGetter ( cls , property , false ) ; Method setter = Reflection . findSetter ( cls , property , false ) ; int accessCode = ( AccessCode . isUnknown ( access ) ) ? meta . getAccessType ( ) : access ; if ( ( field == null ) && ( getter == null ) ) error ( meta , PersistenceMetaDataDefaults . _loc . get ( "access-no-property" , cls , property ) ) ; if ( ( ( ( isNotTransient ( getter ) ) && ( isAnnotated ( getter ) ) ) && ( isNotTransient ( field ) ) ) && ( isAnnotated ( field ) ) ) throw new IllegalStateException ( PersistenceMetaDataDefaults . _loc . get ( "access-duplicate" , field , getter ) . toString ( ) ) ; if ( AccessCode . isField ( accessCode ) ) { if ( isAnnotatedAccess ( getter , PROPERTY ) ) { meta . setAccessType ( ( ( AccessCode . MIXED ) | ( meta . getAccessType ( ) ) ) ) ; return getter ; } return field == null ? getter : field ; } else if ( AccessCode . isProperty ( accessCode ) ) { if ( isAnnotatedAccess ( field , FIELD ) ) { meta . setAccessType ( ( ( AccessCode . MIXED ) | ( meta . getAccessType ( ) ) ) ) ; return field ; } return getter == null ? field : getter ; } else if ( AccessCode . isUnknown ( accessCode ) ) { if ( isAnnotated ( field ) ) { meta . setAccessType ( AccessCode . FIELD ) ; return field ; } else if ( isAnnotated ( getter ) ) { meta . setAccessType ( AccessCode . PROPERTY ) ; return getter ; } else { warn ( meta , PersistenceMetaDataDefaults . _loc . get ( "access-none" , meta , property ) ) ; throw new IllegalStateException ( PersistenceMetaDataDefaults . _loc . get ( "access-none" , meta , property ) . toString ( ) ) ; } } else { <START_BUG> throw new org . apache . openjpa . util . InternalException ( ( ( meta + "<seq2seq4repair_space>" ) + ( AccessCode . toString ( meta . getAccessType ( ) ) ) ) ) ; <END_BUG> } } private static interface InclusiveFilter < T extends AnnotatedElement > { boolean includes ( T e ) { } } < T extends AnnotatedElement > List < T > filter ( T [ ] array , PersistenceMetaDataDefaults . InclusiveFilter ... filters ) { } < T extends AnnotatedElement > List < T > filter ( List < T > list , PersistenceMetaDataDefaults . InclusiveFilter ... filters ) { } static class GetterFilter implements PersistenceMetaDataDefaults . InclusiveFilter < Method > { public boolean includes ( Method method ) { } } static class SetterFilter implements PersistenceMetaDataDefaults . InclusiveFilter < Method > { public boolean includes ( Method method ) { } public static boolean isSetter ( Method method ) { } } static class AccessFilter implements PersistenceMetaDataDefaults . InclusiveFilter < AnnotatedElement > { final AccessType target ; public AccessFilter ( AccessType target ) { } public boolean includes ( AnnotatedElement obj ) { } } static class MemberFilter implements PersistenceMetaDataDefaults . InclusiveFilter < AnnotatedElement > { final Class < ? > target ; public MemberFilter ( Class < ? > target ) { } public boolean includes ( AnnotatedElement obj ) { } } static class TransientFilter implements PersistenceMetaDataDefaults . InclusiveFilter < AnnotatedElement > { public boolean includes ( AnnotatedElement obj ) { } } static class AnnotatedFilter implements PersistenceMetaDataDefaults . InclusiveFilter < AnnotatedElement > { public boolean includes ( AnnotatedElement obj ) { } } private void logNoSetter ( ClassMetaData meta , String name , Exception e ) { } private Log getLog ( ClassMetaData meta ) { } String toFieldNames ( List < Field > fields ) { }

Fix:
throw new org . apache . openjpa . util . InternalException ( ( ( meta + "<seq2seq4repair_space>" ) + ( AccessCode . toClassString ( meta . getAccessType ( ) ) ) ) ) ;