/**
  * Get a list of the method annotations in this <code>AnnotationDirectoryItem</code>
  *
  * @return A list of MethodAnnotation objects, or null if there are no method annotations
  */
 @Nonnull
 public List<MethodAnnotation> getMethodAnnotations() {
   if (methodAnnotations == null) {
     return Collections.emptyList();
   }
   return ReadOnlyArrayList.of(methodAnnotations);
 }
 /**
  * Get a list of the parameter annotations in this <code>AnnotationDirectoryItem</code>
  *
  * @return A list of ParameterAnnotation objects, or null if there are no parameter annotations
  */
 @Nonnull
 public List<ParameterAnnotation> getParameterAnnotations() {
   if (parameterAnnotations == null) {
     return Collections.emptyList();
   }
   return ReadOnlyArrayList.of(parameterAnnotations);
 }
 /**
  * Get a list of the field annotations in this <code>AnnotationDirectoryItem</code>
  *
  * @return A list of FieldAnnotation objects, or null if there are no field annotations
  */
 @Nonnull
 public List<FieldAnnotation> getFieldAnnotations() {
   if (fieldAnnotations == null) {
     return Collections.emptyList();
   }
   return ReadOnlyArrayList.of(fieldAnnotations);
 }