static JavaAnnotation [ ] parseAnnotations ( InputStream is , ConstantPool cp , JavaClassLoader loader ) throws IOException { int n = readShort ( is ) ; JavaAnnotation [ ] annArray = new JavaAnnotation [ n ] ; for ( int i = 0 ; i < n ; i ++ ) { annArray [ i ] = parseAnnotation ( is , cp , loader ) ; } return annArray ; }
Parses the annotation from an annotation block .