Uses of Interface
gnu.bytecode.AttrContainer
Packages that use AttrContainer
Package
Description
Contains classes to generate, read,
write, and print Java bytecode in the form of
.class
files.Supports
Expression
,
and various related classes need to compile programming languages.-
Uses of AttrContainer in gnu.bytecode
Classes in gnu.bytecode that implement AttrContainerModifier and TypeClassDescriptionclass
class
Represents the contents of a standard "Code" attribute.class
class
Represents a method in aClassType
.Methods in gnu.bytecode that return AttrContainerModifier and TypeMethodDescriptionfinal AttrContainer
Attribute.getContainer()
Return the Attribute container that contains this Attribute.Methods in gnu.bytecode with parameters of type AttrContainerModifier and TypeMethodDescriptionvoid
Attribute.addToFrontOf
(AttrContainer container) Add this to (the front of) of the specified attribute container.static void
Attribute.assignConstants
(AttrContainer container, ClassType cl) Add any needed constant pool entries for all attributes in a container.static int
Attribute.count
(AttrContainer container) static Attribute
Attribute.get
(AttrContainer container, String name) Find an Attribute by name, in an attribute cointainer.static <T extends Annotation>
TRuntimeAnnotationsAttr.getAnnotation
(AttrContainer container, Class<T> clas) static RuntimeAnnotationsAttr
RuntimeAnnotationsAttr.getAnnotationsAttr
(AttrContainer container, String name) static int
Attribute.getLengthAll
(AttrContainer container) Return the length of all the attributes (with headers) in bytes.static RuntimeAnnotationsAttr
RuntimeAnnotationsAttr.getRuntimeInvisibleAnnotations
(AttrContainer container) Get or create a RuntimeInvisibleAnnotations attribute.static RuntimeAnnotationsAttr
RuntimeAnnotationsAttr.getRuntimeVisibleAnnotations
(AttrContainer container) Get or create a RuntimeVisibleAnnotations attribute.static void
RuntimeAnnotationsAttr.maybeAddAnnotation
(AttrContainer container, AnnotationEntry annotation) Add to appropriate annotations attribute.void
ClassTypeWriter.printAttributes
(AttrContainer container) ClassFileInput.readAttribute
(String name, int length, AttrContainer container) dump.readAttribute
(String name, int length, AttrContainer container) int
ClassFileInput.readAttributes
(AttrContainer container) final void
Attribute.setContainer
(AttrContainer container) static void
Attribute.writeAll
(AttrContainer container, DataOutputStream dstr) Constructors in gnu.bytecode with parameters of type AttrContainerModifierConstructorDescriptionAnnotationDefaultAttr
(String name, AnnotationEntry.Value value, AttrContainer container) RuntimeAnnotationsAttr
(String name, AnnotationEntry[] entries, int numEntries, AttrContainer container) Add a new AnnotationAttr to a Member. -
Uses of AttrContainer in gnu.expr
Classes in gnu.expr that implement AttrContainerModifier and TypeClassDescriptionclass
A class type implemented as a pair of an interface and a class.Methods in gnu.expr with parameters of type AttrContainerModifier and TypeMethodDescriptionvoid
Declaration.compileAnnotations
(AttrContainer container, ElementType etype) void
Declaration.maybeSourceName
(AttrContainer member, String expName) Add SourceName annotation to member, if needed.