returns an annotation of a specific type on a property 's getter or its backing field . concode_field_sep PlaceHolder placeHolder concode_field_sep List<PropertyDescriptor> getPropertiesWithAnnotation concode_elem_sep List<PropertyDescriptor> getProperties concode_elem_sep List<PropertyDescriptor> getPropertiesWithoutAnnotation concode_elem_sep boolean isFieldAnnotated concode_elem_sep Optional<TAnnotation> getAnnotationOnField
Optional < TAnnotation > function ( Class < ? > arg0 , PropertyDescriptor arg1 , Class < TAnnotation > arg2 ) { Optional < TAnnotation > loc0 = stream ( arg1 . getReadMethod ( ) . getAnnotationsByType ( arg2 ) ) . findAny ( ) ; return loc0 . isPresent ( ) ? loc0 : getAnnotationOnField ( arg0 , arg1 . getName ( ) , arg2 ) ; }