how to get attribute of a class in 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());