private void doAnnotations(DataInput in, ElementType member, RetentionPolicy policy, int access_flags) throws Exception { int num_annotations = in.readUnsignedShort(); // # of annotations for (int a = 0; a < num_annotations; a++) { if (cd == null) doAnnotation(in, member, policy, false, access_flags); else { Annotation annotation = doAnnotation(in, member, policy, true, access_flags); cd.annotation(annotation); } } }
private void doAnnotations(DataInputStream in, ElementType member, RetentionPolicy policy, int access_flags) throws Exception { int num_annotations = in.readUnsignedShort(); // # of annotations for (int a = 0; a < num_annotations; a++) { if (cd == null) doAnnotation(in, member, policy, false, access_flags); else { Annotation annotion = doAnnotation(in, member, policy, true, access_flags); cd.annotation(annotion); } } }
private void doAnnotations(DataInput in, ElementType member, RetentionPolicy policy, int access_flags) throws Exception { int num_annotations = in.readUnsignedShort(); // # of annotations for (int a = 0; a < num_annotations; a++) { if (cd == null) doAnnotation(in, member, policy, false, access_flags); else { Annotation annotation = doAnnotation(in, member, policy, true, access_flags); cd.annotation(annotation); } } }
private void doAnnotations(DataInputStream in, ElementType member, RetentionPolicy policy, int access_flags) 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, access_flags); else { Annotation annotion = doAnnotation(in, member, policy, true, access_flags); cd.annotation(annotion); } } }
private void doAnnotations(DataInputStream in, ElementType member, RetentionPolicy policy, int access_flags) throws Exception { int num_annotations = in.readUnsignedShort(); // # of annotations for (int a = 0; a < num_annotations; a++) { if (cd == null) doAnnotation(in, member, policy, false, access_flags); else { Annotation annotion = doAnnotation(in, member, policy, true, access_flags); cd.annotation(annotion); } } }
private void doParameterAnnotations(DataInput in, ElementType member, RetentionPolicy policy, int access_flags) throws Exception { boolean collect = cd != null; int num_parameters = in.readUnsignedByte(); for (int p = 0; p < num_parameters; p++) { int num_annotations = in.readUnsignedShort(); // # of annotations if (num_annotations > 0) { if (collect) { cd.parameter(p); } for (int a = 0; a < num_annotations; a++) { Annotation annotation = doAnnotation(in, member, policy, collect, access_flags); if (collect) { cd.annotation(annotation); } } } } }
private void doParameterAnnotations(DataInput in, ElementType member, RetentionPolicy policy, int access_flags) throws Exception { boolean collect = cd != null; int num_parameters = in.readUnsignedByte(); for (int p = 0; p < num_parameters; p++) { int num_annotations = in.readUnsignedShort(); // # of annotations if (num_annotations > 0) { if (collect) { cd.parameter(p); } for (int a = 0; a < num_annotations; a++) { Annotation annotation = doAnnotation(in, member, policy, collect, access_flags); if (collect) { cd.annotation(annotation); } } } } }
doAnnotation(in, member, policy, false, access_flags);
doAnnotation(in, member, policy, false, access_flags);
return doAnnotation(in, member, policy, collect, access_flags);
return doAnnotation(in, member, policy, collect, access_flags);
return doAnnotation(in, member, policy, collect, access_flags);
return doAnnotation(in, member, policy, collect, access_flags);
return doAnnotation(in, member, policy, collect, access_flags);
Annotation annotation = doAnnotation(in, member, policy, true, access_flags); cd.annotation(annotation); } else { doAnnotation(in, member, policy, false, access_flags);
Annotation annotation = doAnnotation(in, member, policy, true, access_flags); cd.annotation(annotation); } else { doAnnotation(in, member, policy, false, access_flags);