Uses of Interface
gnu.bytecode.AttrContainer
-
Packages that use AttrContainer Package Description gnu.bytecode Contains classes to generate, read, write, and print Java bytecode in the form of.class
files.gnu.expr SupportsExpression
, and various related classes need to compile programming languages. -
-
Uses of AttrContainer in gnu.bytecode
Classes in gnu.bytecode that implement AttrContainer Modifier and Type Class Description class
ClassType
class
CodeAttr
Represents the contents of a standard "Code" attribute.class
Field
class
Method
Represents a method in aClassType
.Methods in gnu.bytecode that return AttrContainer Modifier and Type Method Description AttrContainer
Attribute. getContainer()
Return the Attribute container that contains this Attribute.Methods in gnu.bytecode with parameters of type AttrContainer Modifier and Type Method Description void
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)
Attribute
ClassFileInput. readAttribute(String name, int length, AttrContainer container)
Attribute
dump. readAttribute(String name, int length, AttrContainer container)
int
ClassFileInput. readAttributes(AttrContainer container)
void
Attribute. setContainer(AttrContainer container)
static void
Attribute. writeAll(AttrContainer container, DataOutputStream dstr)
Constructors in gnu.bytecode with parameters of type AttrContainer Constructor Description AnnotationDefaultAttr(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 AttrContainer Modifier and Type Class Description class
PairClassType
A class type implemented as a pair of an interface and a class.Methods in gnu.expr with parameters of type AttrContainer Modifier and Type Method Description void
Declaration. compileAnnotations(AttrContainer container, ElementType etype)
void
Declaration. maybeSourceName(AttrContainer member, String expName)
Add SourceName annotation to member, if needed.
-