for (PsiField field : beanClass.getAllFields()) {
registerField(registrar, field, findWithElement(elements, field));
}
}
@Nullable
<BUG>private static With findWithElement(List<With> elements, PsiField field) {
</BUG>
for (With element : elements) {
if (field.getName().equals(element.getAttribute().getStringValue())) {
return element;

for (PsiField field : beanClass.getAllFields()) {
registerField(registrar, field, findWithElement(elements, field));
}
}
@Nullable
public static With findWithElement(List<With> elements, PsiField field) {
for (With element : elements) {
if (field.getName().equals(element.getAttribute().getStringValue())) {
return element;
