// add property
if (kind != null) {
SimpleStringLiteral nameLiteral = getOnlySimpleStringLiteralArgument(annotation);
FieldElement field = getOnlyFieldElement(fieldDeclaration);
if (nameLiteral != null && field != null) {
AngularPropertyElementImpl property = new AngularPropertyElementImpl(
nameLiteral.getValue(),
nameLiteral.getValueOffset());
property.setField(field);
property.setPropertyKind(kind);
properties.add(property);
}
}
}
}