Package jminusminus

Class CLElementValue

java.lang.Object
jminusminus.CLElementValue

class CLElementValue extends Object
Representation of element_value union.
  • Field Details

    • tag

      public short tag
      element_value.tag item.
    • constValueIndex

      public int constValueIndex
      element_value.const_value_index item.
    • typeNameIndex

      public int typeNameIndex
      element_value.enum_const_value.type_name_index item.
    • constNameIndex

      public int constNameIndex
      element_value.enum_const_value.const_name_index item.
    • classInfoIndex

      public int classInfoIndex
      element_value.class_info_index item.
    • annotationValue

      public CLAnnotation annotationValue
      element_value.annotation_value item.
    • numValues

      public int numValues
      element_value.array_value.numValues item.
    • values

      public ArrayList<CLElementValue> values
      element_value.array_value.values item.
  • Constructor Details

    • CLElementValue

      public CLElementValue(short tag, int constValueIndex)
      Construct a CLElementValue object.
      Parameters:
      tag - element_value.tag item.
      constValueIndex - element_value.const_value_index item.
    • CLElementValue

      public CLElementValue(int typeNameIndex, int constNameIndex)
      Construct a CLElementValue object.
      Parameters:
      typeNameIndex - element_value.type_name_index item.
      constNameIndex - element_value.const_name_index item.
    • CLElementValue

      public CLElementValue(int classInfoIndex)
      Construct a CLElementValue object.
      Parameters:
      classInfoIndex - element_value.class_info_index item.
    • CLElementValue

      public CLElementValue(CLAnnotation annotationValue)
      Construct a CLElementValue object.
      Parameters:
      annotationValue - element_value.annotation_value item.
    • CLElementValue

      public CLElementValue(int numValues, ArrayList<CLElementValue> values)
      Construct a CLElementValue object.
      Parameters:
      numValues - element_value.num_values.
      values - element_value.values.
  • Method Details

    • write

      public void write(CLOutputStream out) throws IOException
      Write the contents of this object to the specified output stream.
      Parameters:
      out - output stream.
      Throws:
      IOException - if an error occurs while writing.