public int size() {
    return annotations.size();
  }
Gets the number of elements in this instance.

@return {@code >= 0;} the size
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/annotation/Annotations.java