Class RuntimeVisibleorInvisibleParameterAnnotationsAttribute.ParameterAnnotation

java.lang.Object
org.apache.commons.compress.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleParameterAnnotationsAttribute.ParameterAnnotation
Enclosing class:
RuntimeVisibleorInvisibleParameterAnnotationsAttribute

ParameterAnnotation represents the annotations on a single parameter.
  • Constructor Details

  • Method Details

    • getClassFileEntries

      Gets all annotation class file entries.
      Returns:
      all annotation class file entries.
    • getLength

      public int getLength()
      Gets the cumulative length of all annotations.
      Returns:
      the cumulative length of all annotations.
    • resolve

      public void resolve(ClassConstantPool pool)
      Resolves all annotations in this instance against the given pool.
      Parameters:
      pool - A class constant pool.
    • writeBody

      public void writeBody(DataOutputStream dos) throws IOException
      Writes this body to the given output stream.
      Parameters:
      dos - the output stream.
      Throws:
      IOException - if an I/O error occurs.