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