public Object findFilterId(AnnotatedClass paramAnnotatedClass) { JsonFilter localJsonFilter = (JsonFilter)paramAnnotatedClass.getAnnotation(JsonFilter.class); if (localJsonFilter != null) { String str = localJsonFilter.value(); if (str.length() > 0) return str; } return null; }
public static String getJsonFilterAnnotationValue(Class clazz) { JsonFilter jsonFilterAnnotation = (JsonFilter) clazz.getAnnotation(JsonFilter.class); if (jsonFilterAnnotation != null) { return jsonFilterAnnotation.value(); } return null; }