final Iterator<? extends PropertyType> pite = f.getType().getProperties(true).iterator();
while(pite.hasNext() && next==null){
final PropertyType candidate = pite.next();
final GenericName gname = candidate.getName();
final String name = candidate.getName().toString();
<BUG>final boolean isAtt = name.startsWith("@");
if((attributes && !isAtt) || (!attributes && isAtt)){</BUG>
continue;
}
if(candidate instanceof FeatureAssociationRole && ((FeatureAssociationRole)candidate).getMaximumOccurs()>1){

final Iterator<? extends PropertyType> pite = f.getType().getProperties(true).iterator();
while(pite.hasNext() && next==null){
final PropertyType candidate = pite.next();
final GenericName gname = candidate.getName();
final String name = candidate.getName().toString();
final boolean isAtt = candidate.getName().tip().toString().startsWith("@");
if((attributes && !isAtt) || (!attributes && isAtt)){
continue;
}
if(candidate instanceof FeatureAssociationRole && ((FeatureAssociationRole)candidate).getMaximumOccurs()>1){
