/** * Writes <code>num_annotations</code> in * <code>Runtime(In)VisibleAnnotations_attribute</code>. * This method must be followed by <code>num</code> calls to * <code>annotation()</code>. */ public void numAnnotations(int num) throws IOException { write16bit(num); }
/** * Writes an element of a <code>element_value_pairs</code> array * in <code>annotation</code>. * This method must be followed by a * call to <code>constValueIndex()</code>, <code>enumConstValue()</code>, * etc. * * @param memberNameIndex <code>element_name_index</code> * in <code>element_value_pairs</code> array. */ public void memberValuePair(int memberNameIndex) throws IOException { write16bit(memberNameIndex); }
/** * Writes <code>annotation</code>. * This method must be followed by <code>numMemberValuePairs</code> * calls to <code>memberValuePair()</code>. * * @param typeIndex <code>type_index</code> in <code>annotation</code>. * @param numMemberValuePairs <code>num_element_value_pairs</code> * in <code>annotation</code>. */ public void annotation(int typeIndex, int numMemberValuePairs) throws IOException { write16bit(typeIndex); write16bit(numMemberValuePairs); }
/** * Writes <code>tag</code> and <code>class_info_index</code> * in <code>element_value</code>. * * @param index <code>class_info_index</code> */ public void classInfoIndex(int index) throws IOException { output.write('c'); write16bit(index); }
/** * Writes <code>num_annotations</code> in * <code>Runtime(In)VisibleAnnotations_attribute</code>. * This method must be followed by <code>num</code> calls to * <code>annotation()</code>. */ public void numAnnotations(int num) throws IOException { write16bit(num); }
/** * Writes an element of a <code>element_value_pairs</code> array * in <code>annotation</code>. * This method must be followed by a * call to <code>constValueIndex()</code>, <code>enumConstValue()</code>, * etc. * * @param memberNameIndex <code>element_name_index</code> * in <code>element_value_pairs</code> array. */ public void memberValuePair(int memberNameIndex) throws IOException { write16bit(memberNameIndex); }
/** * Writes <code>tag</code> and <code>enum_const_value</code> * in <code>element_value</code>. * * @param typeNameIndex <code>type_name_index</code> * in <code>element_value</code>. * @param constNameIndex <code>const_name_index</code> * in <code>element_value</code>. */ public void enumConstValue(int typeNameIndex, int constNameIndex) throws IOException { output.write('e'); write16bit(typeNameIndex); write16bit(constNameIndex); }
/** * Writes <code>tag</code> and <code>const_value_index</code> * in <code>element_value</code>. * * @param tag <code>tag</code> in <code>element_value</code>. * @param index <code>const_value_index</code> * in <code>element_value</code>. */ public void constValueIndex(int tag, int index) throws IOException { output.write(tag); write16bit(index); }
/** * Writes <code>annotation</code>. * This method must be followed by <code>numMemberValuePairs</code> * calls to <code>memberValuePair()</code>. * * @param typeIndex <code>type_index</code> in <code>annotation</code>. * @param numMemberValuePairs <code>num_element_value_pairs</code> * in <code>annotation</code>. */ public void annotation(int typeIndex, int numMemberValuePairs) throws IOException { write16bit(typeIndex); write16bit(numMemberValuePairs); }
/** * Writes <code>tag</code> and <code>array_value</code> * in <code>element_value</code>. * This method must be followed by <code>numValues</code> calls * to <code>constValueIndex()</code>, <code>enumConstValue()</code>, * etc. * * @param numValues <code>num_values</code> * in <code>array_value</code>. */ public void arrayValue(int numValues) throws IOException { output.write('['); write16bit(numValues); }
/** * Writes <code>tag</code> and <code>class_info_index</code> * in <code>element_value</code>. * * @param index <code>class_info_index</code> */ public void classInfoIndex(int index) throws IOException { output.write('c'); write16bit(index); }
/** * Writes <code>tag</code> and <code>array_value</code> * in <code>element_value</code>. * This method must be followed by <code>numValues</code> calls * to <code>constValueIndex()</code>, <code>enumConstValue()</code>, * etc. * * @param numValues <code>num_values</code> * in <code>array_value</code>. */ public void arrayValue(int numValues) throws IOException { output.write('['); write16bit(numValues); }
/** * Writes <code>tag</code> and <code>enum_const_value</code> * in <code>element_value</code>. * * @param typeNameIndex <code>type_name_index</code> * in <code>element_value</code>. * @param constNameIndex <code>const_name_index</code> * in <code>element_value</code>. */ public void enumConstValue(int typeNameIndex, int constNameIndex) throws IOException { output.write('e'); write16bit(typeNameIndex); write16bit(constNameIndex); }
/** * Writes <code>tag</code> and <code>const_value_index</code> * in <code>element_value</code>. * * @param tag <code>tag</code> in <code>element_value</code>. * @param index <code>const_value_index</code> * in <code>element_value</code>. */ public void constValueIndex(int tag, int index) throws IOException { output.write(tag); write16bit(index); }
/** * Writes <code>num_annotations</code> in * <code>Runtime(In)VisibleAnnotations_attribute</code>. * This method must be followed by <code>num</code> calls to * <code>annotation()</code>. */ public void numAnnotations(int num) throws IOException { write16bit(num); }
/** * Writes <code>num_annotations</code> in * <code>Runtime(In)VisibleAnnotations_attribute</code>. * This method must be followed by <code>num</code> calls to * <code>annotation()</code>. */ public void numAnnotations(int num) throws IOException { write16bit(num); }
/** * Writes <code>num_annotations</code> in * <code>Runtime(In)VisibleAnnotations_attribute</code>. * This method must be followed by <code>num</code> calls to * <code>annotation()</code>. */ public void numAnnotations(int num) throws IOException { write16bit(num); }
/** * Writes <code>tag</code> and <code>class_info_index</code> * in <code>member_value</code>. * * @param index <code>class_info_index</code> */ public void classInfoIndex(int index) throws IOException { output.write('c'); write16bit(index); }
/** * Writes <code>tag</code> and <code>class_info_index</code> * in <code>member_value</code>. * * @param index <code>class_info_index</code> */ public void classInfoIndex(int index) throws IOException { output.write('c'); write16bit(index); }
/** * Writes <code>tag</code> and <code>class_info_index</code> * in <code>member_value</code>. * * @param index <code>class_info_index</code> */ public void classInfoIndex(int index) throws IOException { output.write('c'); write16bit(index); }