Skip to content

Throw exception when ROF can't initialize class properly. #25

@cwlucas41

Description

@cwlucas41

I was using ROF to create instances of a private nested class. ROF was able to give me an instance of the class but was unable to set the fields. The resulting object had all null fields. I was able to fix the issue by making the nested classes public.

Here is an example of the nested class:

@Getter

@Setter

private static class BaseObject {

    private String baseField;

}

ROF should have told me that it couldn't initialize the object properly instead of failing silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions