Lines Matching full:annotationdir
55 private AnnotationsDirectoryItem annotationDir;
121 annotationDir = new AnnotationsDirectoryItem();
122 annotationDir.class_annotations_off = buffer.readUInt();
123 annotationDir.fields_size = buffer.readUInt();
124 annotationDir.methods_size = buffer.readUInt();
125 annotationDir.annotated_params_size = buffer.readUInt();
127 if (annotationDir.fields_size != 0) {
128 annotationDir.fieldAnnotations =
129 new FieldAnnotation[annotationDir.fields_size];
130 for (int i = 0; i < annotationDir.fields_size; i++) {
131 annotationDir.fieldAnnotations[i] = new FieldAnnotation();
132 annotationDir.fieldAnnotations[i].fieldIdx = buffer
134 annotationDir.fieldAnnotations[i].annotationsOff = buffer
137 annotationDir.fieldAnnotations[i].fieldIdx,
138 annotationDir.fieldAnnotations[i]);
141 if (annotationDir.methods_size != 0) {
142 annotationDir.methodAnnotations =
143 new MethodAnnotation[annotationDir.methods_size];
144 for (int i = 0; i < annotationDir.methods_size; i++) {
145 annotationDir.methodAnnotations[i] = new MethodAnnotation();
146 annotationDir.methodAnnotations[i].methodIdx = buffer
148 annotationDir.methodAnnotations[i].annotationsOff = buffer
151 annotationDir.methodAnnotations[i].methodIdx,
152 annotationDir.methodAnnotations[i]);
155 if (annotationDir.annotated_params_size != 0) {
156 annotationDir.parameterAnnotations =
157 new ParameterAnnotation[annotationDir
159 for (int i = 0; i < annotationDir.annotated_params_size; i++) {
160 annotationDir.parameterAnnotations[i] =
162 annotationDir.parameterAnnotations[i].methodIdx = buffer
164 annotationDir.parameterAnnotations[i].annotationsOff =
167 annotationDir.parameterAnnotations[i].methodIdx,
168 annotationDir.parameterAnnotations[i]);
238 if (annotationDir != null && annotationDir.class_annotations_off != 0) {
239 buffer.setPosition(annotationDir.class_annotations_off);