private void doAnnotations(DataInputStream in, ElementType member, RetentionPolicy policy) throws IOException { int num_annotations = in.readUnsignedShort(); // # of annotations for (int a = 0; a < num_annotations; a++) { if (cd == null) doAnnotation(in, member, policy, false); else { Annotation annotion = doAnnotation(in, member, policy, true); cd.annotation(annotion); } } }
private void doAnnotations(DataInputStream in, ElementType member, RetentionPolicy policy) throws IOException { int num_annotations = in.readUnsignedShort(); // # of annotations for (int a = 0; a < num_annotations; a++) { if (cd == null) doAnnotation(in, member, policy, false); else { Annotation annotion = doAnnotation(in, member, policy, true); cd.annotation(annotion); } } }