# Uses of Class
org.apache.bcel.generic.AnnotationEntryGen

Packages that use AnnotationEntryGen
Package
Description
org.apache.bcel.generic
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects and byte code instructions.

- ## Uses of AnnotationEntryGen in org.apache.bcel.generic

  Methods in org.apache.bcel.generic that return AnnotationEntryGen
  Modifier and Type
  Method
  Description
  `AnnotationEntryGen`
  AnnotationElementValueGen.`getAnnotation()`
  Gets the annotation.
  `AnnotationEntryGen[]`
  ClassGen.`getAnnotationEntries()`
  Gets the annotation entries.
  `AnnotationEntryGen[]`
  FieldGenOrMethodGen.`getAnnotationEntries()`
  Gets all annotation entries.
  `static AnnotationEntryGen`
  AnnotationEntryGen.`read(DataInput dis, ConstantPoolGen cpool, boolean b)`
  Reads an AnnotationEntryGen from a DataInput.
  Methods in org.apache.bcel.generic that return types with arguments of type AnnotationEntryGen
  Modifier and Type
  Method
  Description
  `List<AnnotationEntryGen>`
  MethodGen.`getAnnotationsOnParameter(int i)`
  Return a list of AnnotationGen objects representing parameter annotations.
  Methods in org.apache.bcel.generic with parameters of type AnnotationEntryGen
  Modifier and Type
  Method
  Description
  `void`
  ClassGen.`addAnnotationEntry(AnnotationEntryGen a)`
  Adds an annotation entry to this class.
  `void`
  FieldGenOrMethodGen.`addAnnotationEntry(AnnotationEntryGen ag)`
  Adds an annotation entry.
  `void`
  MethodGen.`addParameterAnnotation(int parameterIndex, AnnotationEntryGen annotation)`
  Adds a parameter annotation.
  `void`
  FieldGenOrMethodGen.`removeAnnotationEntry(AnnotationEntryGen ag)`
  Removes an annotation entry.
  Constructors in org.apache.bcel.generic with parameters of type AnnotationEntryGen
  Modifier
  Constructor
  Description
  ``
  `AnnotationElementValueGen(int type, AnnotationEntryGen annotation, ConstantPoolGen cpool)`
  Constructs an AnnotationElementValueGen.
  ``
  `AnnotationElementValueGen(AnnotationEntryGen a, ConstantPoolGen cpool)`
  Constructs an AnnotationElementValueGen.