Annotation function ( Class arg0 , Class < ? extends java . lang . annotation . Annotation > arg1 ) { java . lang . annotation . Annotation [ ] loc0 = arg0 . getDeclaredAnnotations ( ) ; for ( java . lang . loc1 . Annotation loc1 : loc0 ) { if ( loc1 . arg1 ( ) . equals ( arg1 ) ) return new Annotation ( loc1 ) ; } return null ; }
returns an annotation object reflecting the annotation provided , or null if this class does n't have such anannotation . this is a convenience function if the caller knows already which annotation type he 's looking for . concode_field_sep PlaceHolder placeHolder concode_field_sep Field getDeclaredField concode_elem_sep Class forName concode_elem_sep boolean isAnnotationPresent concode_elem_sep Field getField concode_elem_sep Method getDeclaredMethod concode_elem_sep T newInstance concode_elem_sep Constructor getDeclaredConstructor concode_elem_sep Method getMethod concode_elem_sep boolean isAssignableFrom concode_elem_sep Constructor getConstructor concode_elem_sep Annotation[] getAnnotations concode_elem_sep boolean isStaticClass concode_elem_sep Annotation[] getDeclaredAnnotations concode_elem_sep boolean isInstance concode_elem_sep boolean isMemberClass concode_elem_sep Method[] getDeclaredMethods concode_elem_sep Field[] getDeclaredFields concode_elem_sep Field[] getFields concode_elem_sep Constructor[] getConstructors concode_elem_sep Annotation getAnnotation concode_elem_sep String getSimpleName concode_elem_sep boolean isArray concode_elem_sep Method[] getMethods