use of org.mapstruct.ap.internal.util.accessor.VariableElementAccessor in project mapstruct by mapstruct.
the class Executables method addFields.
private static void addFields(List<Accessor> alreadyCollected, List<VariableElement> variablesToAdd) {
List<Accessor> safeToAdd = new ArrayList<Accessor>(variablesToAdd.size());
for (VariableElement toAdd : variablesToAdd) {
safeToAdd.add(new VariableElementAccessor(toAdd));
}
alreadyCollected.addAll(0, safeToAdd);
}
Aggregations