Class AnnotationElementValueGen

java.lang.Object
org.apache.bcel.generic.ElementValueGen
org.apache.bcel.generic.AnnotationElementValueGen

public class AnnotationElementValueGen extends ElementValueGen
Generates annotation element values.
Since:
6.0
  • Field Details

  • Constructor Details

    • AnnotationElementValueGen

      public AnnotationElementValueGen(AnnotationElementValue value, ConstantPoolGen cpool, boolean copyPoolEntries)
      Constructs an AnnotationElementValueGen.
      Parameters:
      value - The annotation element value.
      cpool - The constant pool generator.
      copyPoolEntries - whether to copy pool entries.
    • AnnotationElementValueGen

      public AnnotationElementValueGen(AnnotationEntryGen a, ConstantPoolGen cpool)
      Constructs an AnnotationElementValueGen.
      Parameters:
      a - The annotation entry generator.
      cpool - The constant pool generator.
    • AnnotationElementValueGen

      public AnnotationElementValueGen(int type, AnnotationEntryGen annotation, ConstantPoolGen cpool)
      Constructs an AnnotationElementValueGen.
      Parameters:
      type - The type.
      annotation - The annotation.
      cpool - The constant pool generator.
  • Method Details