Missing null check in AnnotatedType annotation accessor methods

XMLWordPrintable

      AnnotatedElement methods specify they throw NPE if they take any null argument: isAnnotationPresent, get(Declared)Annotation, get(Declared)AnnnotationsByType. AnnotatedType has implementation quality issues that it does not throw NPE for isAnnotationPresent and get(Declared)Annotation.

            Assignee:
            Chen Liang
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: