Skip to content

Egiby container#108

Open
egiby wants to merge 16 commits intoarhangeldim:masterfrom
egiby:egiby-container
Open

Egiby container#108
egiby wants to merge 16 commits intoarhangeldim:masterfrom
egiby:egiby-container

Conversation

@egiby
Copy link

@egiby egiby commented Nov 3, 2016

No description provided.

for (Property property: bean.getProperties().values()) {
Field field = clazz.getDeclaredField(property.getName());
Class type = field.getType();
Method set = clazz.getMethod(getSetMethodName(property.getName()), type);
Copy link
Collaborator

@asabelnikova asabelnikova Nov 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

если у поля не будет сеттера мы не проставим поле?
можно через рефлекшен напрямую выставлять значение поля

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments