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 TypeClassDescriptionclassclassRepresents the contents of a standard "Code" attribute.classclassRepresents a method in aClassType.Methods in gnu.bytecode that return AttrContainerModifier and TypeMethodDescriptionfinal AttrContainerAttribute.getContainer()Return the Attribute container that contains this Attribute.Methods in gnu.bytecode with parameters of type AttrContainerModifier and TypeMethodDescriptionvoidAttribute.addToFrontOf(AttrContainer container) Add this to (the front of) of the specified attribute container.static voidAttribute.assignConstants(AttrContainer container, ClassType cl) Add any needed constant pool entries for all attributes in a container.static intAttribute.count(AttrContainer container) static AttributeAttribute.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 RuntimeAnnotationsAttrRuntimeAnnotationsAttr.getAnnotationsAttr(AttrContainer container, String name) static intAttribute.getLengthAll(AttrContainer container) Return the length of all the attributes (with headers) in bytes.static RuntimeAnnotationsAttrRuntimeAnnotationsAttr.getRuntimeInvisibleAnnotations(AttrContainer container) Get or create a RuntimeInvisibleAnnotations attribute.static RuntimeAnnotationsAttrRuntimeAnnotationsAttr.getRuntimeVisibleAnnotations(AttrContainer container) Get or create a RuntimeVisibleAnnotations attribute.static voidRuntimeAnnotationsAttr.maybeAddAnnotation(AttrContainer container, AnnotationEntry annotation) Add to appropriate annotations attribute.voidClassTypeWriter.printAttributes(AttrContainer container) ClassFileInput.readAttribute(String name, int length, AttrContainer container) dump.readAttribute(String name, int length, AttrContainer container) intClassFileInput.readAttributes(AttrContainer container) final voidAttribute.setContainer(AttrContainer container) static voidAttribute.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 TypeClassDescriptionclassA class type implemented as a pair of an interface and a class.Methods in gnu.expr with parameters of type AttrContainerModifier and TypeMethodDescriptionvoidDeclaration.compileAnnotations(AttrContainer container, ElementType etype) voidDeclaration.maybeSourceName(AttrContainer member, String expName) Add SourceName annotation to member, if needed.