access attributes of a class java code example
Example: java get attributes from class
List<Field> fields = Arrays.asList(filter.getClass().getDeclaredFields());
List<Field> fields = Arrays.asList(filter.getClass().getDeclaredFields());