class get properties 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());