Uses of Class
org.apache.bcel.classfile.TypeAnnotationEntry
Packages that use TypeAnnotationEntry
Package
Description
Classes that describe the structure of a Java class file and a class file parser.
-
Uses of TypeAnnotationEntry in org.apache.bcel.classfile
Classes in org.apache.bcel.classfile that implement interfaces with type arguments of type TypeAnnotationEntryModifier and TypeClassDescriptionclassBase class for the type annotation attributes,RuntimeVisibleTypeAnnotationsandRuntimeInvisibleTypeAnnotations: the annotations written on the types used in a declaration (such asList<@Nullable String>, the supertypes of a class, athrowsclause, or the declaration and the bounds of a type parameter as in<T extends @Nullable Object>) or in the code of a method (such as a cast, aninstanceof, anewexpression or a local variable), which the attributes of the declaration annotations do not hold.Fields in org.apache.bcel.classfile declared as TypeAnnotationEntryModifier and TypeFieldDescriptionstatic final TypeAnnotationEntry[]TypeAnnotationEntry.EMPTY_ARRAYEmpty array of TypeAnnotationEntry objects.Methods in org.apache.bcel.classfile that return TypeAnnotationEntryModifier and TypeMethodDescriptionTypeAnnotationEntry.copy(ConstantPool constantPool) Creates a deep copy of this entry, whose annotation is independent of this one and refers to the given constant pool.protected final TypeAnnotationEntry[]TypeAnnotations.copyTypeAnnotations(ConstantPool constantPool) Creates deep copies of the type annotations, which refer to the given constant pool.TypeAnnotations.getTypeAnnotationEntries()Gets the type annotations.static TypeAnnotationEntryTypeAnnotationEntry.read(DataInput input, ConstantPool constantPool, boolean isRuntimeVisible) Factory method to create a TypeAnnotationEntry from a DataInput.Methods in org.apache.bcel.classfile that return types with arguments of type TypeAnnotationEntryMethods in org.apache.bcel.classfile with parameters of type TypeAnnotationEntryModifier and TypeMethodDescriptionfinal voidTypeAnnotations.setTypeAnnotationTable(TypeAnnotationEntry[] typeAnnotationTable) Sets the type annotations.Constructors in org.apache.bcel.classfile with parameters of type TypeAnnotationEntryModifierConstructorDescriptionTypeAnnotations(byte annotationType, int nameIndex, int length, TypeAnnotationEntry[] typeAnnotationTable, ConstantPool constantPool, boolean isRuntimeVisible) Constructs an instance.