Buggy code:
private boolean isAjSynthetic = true ; private TypeVariable [ ] typeVariables ; protected int start ; protected int end ; protected ISourceContext sourceContext = null ; public ResolvedMemberImpl ( Kind kind , UnresolvedType declaringType , int modifiers , UnresolvedType returnType , String name , UnresolvedType [ ] parameterTypes ) { } public ResolvedMemberImpl ( Kind kind , UnresolvedType declaringType , int modifiers , UnresolvedType returnType , String name , UnresolvedType [ ] parameterTypes , UnresolvedType [ ] checkedExceptions ) { } public ResolvedMemberImpl ( Kind kind , UnresolvedType declaringType , int modifiers , UnresolvedType returnType , String name , UnresolvedType [ ] parameterTypes , UnresolvedType [ ] checkedExceptions , ResolvedMember backingGenericMember ) { } public ResolvedMemberImpl ( Kind kind , UnresolvedType declaringType , int modifiers , String name , String signature ) { } public static JoinPointSignature [ ] getJoinPointSignatures ( Member joinPointSignature , World inAWorld ) { } private static boolean shouldWalkUpHierarchyFor ( Member aMember ) { } private static void accumulateTypesInBetween ( ResolvedType subType , ResolvedType superType , List types ) { } private static void accumulateMembersMatching ( ResolvedMemberImpl memberToMatch , Iterator typesToLookIn , List typesAlreadyVisited , Set foundMembers ) { } private static boolean isVisibleTo ( ResolvedMember childMember , ResolvedMember parentMember ) { } public final int getModifiers ( World world ) { } public final int getModifiers ( ) { } public final UnresolvedType [ ] getExceptions ( World world ) { } public UnresolvedType [ ] getExceptions ( ) { } public ShadowMunger getAssociatedShadowMunger ( ) { } public boolean isAjSynthetic ( ) { } public boolean hasAnnotations ( ) { } public boolean hasAnnotation ( UnresolvedType ofType ) { } public ResolvedType [ ] getAnnotationTypes ( ) { } public AnnotationX [ ] getAnnotations ( ) { } public void setAnnotationTypes ( UnresolvedType [ ] annotationtypes ) { } public void addAnnotation ( AnnotationX annotation ) { } public boolean isBridgeMethod ( ) { } public boolean isVarargsMethod ( ) { } public void setVarargsMethod ( ) { } public boolean isSynthetic ( ) { } public void write ( DataOutputStream s ) throws IOException { } public String getGenericSignature ( ) { } public static void writeArray ( ResolvedMember [ ] members , DataOutputStream s ) throws IOException { } public static ResolvedMemberImpl readResolvedMember ( VersionedDataInputStream s , ISourceContext sourceContext ) throws IOException { } public static ResolvedMember [ ] readResolvedMemberArray ( VersionedDataInputStream s , ISourceContext context ) throws IOException { } public ResolvedMember resolve ( World world ) { } public ISourceContext getSourceContext ( World world ) { } public final String [ ] getParameterNames ( ) { } public final void setParameterNames ( String [ ] pnames ) { } public final String [ ] getParameterNames ( World world ) { } public EffectiveSignatureAttribute getEffectiveSignature ( ) { } public ISourceLocation getSourceLocation ( ) { } public int getEnd ( ) { } public ISourceContext getSourceContext ( ) { } public int getStart ( ) { } public void setPosition ( int sourceStart , int sourceEnd ) { } public void setSourceContext ( ISourceContext sourceContext ) { } public boolean isAbstract ( ) { } public boolean isPublic ( ) { } public boolean isProtected ( ) { } public boolean isNative ( ) { } public boolean isDefault ( ) { } public boolean isVisible ( ResolvedType fromType ) { } public void setCheckedExceptions ( UnresolvedType [ ] checkedExceptions ) { } public void setAnnotatedElsewhere ( boolean b ) { } public boolean isAnnotatedElsewhere ( ) { } public UnresolvedType getGenericReturnType ( ) { } public UnresolvedType [ ] getGenericParameterTypes ( ) { } public ResolvedMemberImpl parameterizedWith ( UnresolvedType [ ] typeParameters , ResolvedType newDeclaringType , boolean isParameterized ) { } public ResolvedMemberImpl parameterizedWith ( UnresolvedType [ ] typeParameters , ResolvedType newDeclaringType , boolean isParameterized , List aliases ) { if ( ! ( getDeclaringType ( ) . isGenericType ( ) ) ) { <START_BUG> throw new IllegalStateException ( "Can't<seq2seq4repair_space>ask<seq2seq4repair_space>to<seq2seq4repair_space>parameterize<seq2seq4repair_space>a<seq2seq4repair_space>member<seq2seq4repair_space>of<seq2seq4repair_space>a<seq2seq4repair_space>non-generic<seq2seq4repair_space>type" ) ; <END_BUG> } TypeVariable [ ] typeVariables = getDeclaringType ( ) . getTypeVariables ( ) ; if ( isParameterized && ( ( typeVariables . length ) != ( typeParameters . length ) ) ) { throw new IllegalStateException ( "Wrong<seq2seq4repair_space>number<seq2seq4repair_space>of<seq2seq4repair_space>type<seq2seq4repair_space>parameters<seq2seq4repair_space>supplied" ) ; } Map typeMap = new HashMap ( ) ; boolean typeParametersSupplied = ( typeParameters != null ) && ( ( typeParameters . length ) > 0 ) ; if ( typeVariables != null ) { for ( int i = 0 ; i < ( typeVariables . length ) ; i ++ ) { UnresolvedType ut = ( ! typeParametersSupplied ) ? typeVariables [ i ] . getFirstBound ( ) : typeParameters [ i ] ; typeMap . put ( typeVariables [ i ] . getName ( ) , ut ) ; } } if ( aliases != null ) { int posn = 0 ; for ( Iterator iter = aliases . iterator ( ) ; iter . hasNext ( ) ; ) { String typeVariableAlias = ( ( String ) ( iter . next ( ) ) ) ; typeMap . put ( typeVariableAlias , ( ! typeParametersSupplied ? typeVariables [ posn ] . getFirstBound ( ) : typeParameters [ posn ] ) ) ; posn ++ ; } } UnresolvedType parameterizedReturnType = parameterize ( getGenericReturnType ( ) , typeMap , isParameterized ) ; UnresolvedType [ ] parameterizedParameterTypes = new UnresolvedType [ getGenericParameterTypes ( ) . length ] ; for ( int i = 0 ; i < ( parameterizedParameterTypes . length ) ; i ++ ) { parameterizedParameterTypes [ i ] = parameterize ( getGenericParameterTypes ( ) [ i ] , typeMap , isParameterized ) ; } ResolvedMemberImpl ret = new ResolvedMemberImpl ( getKind ( ) , newDeclaringType , getModifiers ( ) , parameterizedReturnType , getName ( ) , parameterizedParameterTypes , getExceptions ( ) , this ) ; ret . setTypeVariables ( getTypeVariables ( ) ) ; ret . setSourceContext ( getSourceContext ( ) ) ;

Fix:
throw new IllegalStateException ( ( ( ( ( "Can't<seq2seq4repair_space>ask<seq2seq4repair_space>to<seq2seq4repair_space>parameterize<seq2seq4repair_space>a<seq2seq4repair_space>member<seq2seq4repair_space>of<seq2seq4repair_space>non-generic<seq2seq4repair_space>type:<seq2seq4repair_space>" + ( getDeclaringType ( ) ) ) + "<seq2seq4repair_space>kind(" ) + ( getDeclaringType ( ) . typeKind ) ) + ")" ) ) ;