It is possible to use [`pojo-analyzers`](https://github.com/almogtavor/pojo-analyzer) which will also enable to access the getters and setters of the field (without reflection).
```java
@DetailedPojo
public class ClassWithStuff {
public String someString;
//many more fields
}
...
ClassWithStuff classWithStuff = new ClassWithStuff("myString");
// Pojo Analyzers will automatically create a class named DetailedClassWithStuff
DetailedClassWithStuff.list.stream()
.forEach(fieldDetails ->
System.out.println(fieldDetails.getFieldValue(classWithStuff)); // "myString"
```
The library uses annotation processing so there is no reflection involved - the fastest solution possible.
It is possible to use [`pojo-analyzers`](https://github.com/almogtavor/pojo-analyzer) which will also enable to access the getters and setters of the field (without reflection).
```java
@DetailedPojo
public class ClassWithStuff {
public String someString;
//many more fields
}
...
ClassWithStuff classWithStuff = new ClassWithStuff("myString");
DetailedClassWithStuff.list.stream()
.forEach(fieldDetails ->
System.out.println(fieldDetails.getFieldValue(classWithStuff)); // "myString"
```
The library uses annotation processing so there is no reflection involved.