Uses of Class
serp.bytecode.Attribute
Packages that use Attribute
-
Uses of Attribute in serp.bytecode
Subclasses of Attribute in serp.bytecodeModifier and TypeClassDescriptionclass
Java annotation data.class
class
Representation of a code block of a class.class
A constant value for a member field.class
Attribute signifying that a method or class is deprecated.class
Attribute declaring the checked exceptions a method can throw.class
Attribute describing all referenced classes that are not package members.class
Code blocks compiled from source have line number tables mapping opcodes to source lines.class
Code blocks compiled from source have local tables mapping locals used in opcodes to their names and descriptions.class
Code blocks compiled from source have local variable tables mapping locals used in opcodes to their names and descriptions.class
Code blocks compiled from source have local variable type tables mapping generics-using locals used in opcodes to their names and signatures.class
Attribute naming the source file for this class.class
Attribute marking a member as synthetic, or not present in the class source code.class
An unrecognized attribute; class files are allowed to contain attributes that are not recognized, and the JVM must ignore them.Methods in serp.bytecode that return AttributeModifier and TypeMethodDescriptionAttributes.addAttribute
(String name) Add an attribute of the given type.Attributes.addAttribute
(Attribute attr) Import an attribute from another entity, or make a copy of one on this entity.(package private) static Attribute
Attribute.create
(String name, Attributes owner) Create an attribute of the appropriate type based on the the attribute name.Attributes.getAttribute
(String name) Return the attribute with the given name.Attributes.getAttributes()
Return all the attributes owned by this entity.Attributes.getAttributes
(String name) Return all attributes with the given name.Methods in serp.bytecode with parameters of type AttributeModifier and TypeMethodDescriptionAttributes.addAttribute
(Attribute attr) Import an attribute from another entity, or make a copy of one on this entity.(package private) void
(package private) void
Copy the information from the given attribute to this one.(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
boolean
Attributes.removeAttribute
(Attribute attribute) Remove the given attribute.void
Attributes.setAttributes
(Attribute[] attrs) Set the attributes for this entity; this method is useful for importing all attributes from another entity. -
Uses of Attribute in serp.bytecode.visitor
Methods in serp.bytecode.visitor with parameters of type AttributeModifier and TypeMethodDescriptionvoid
BCVisitor.enterAttribute
(Attribute obj) void
PrettyPrintVisitor.enterAttribute
(Attribute obj) void
BCVisitor.exitAttribute
(Attribute obj) void
PrettyPrintVisitor.exitAttribute
(Attribute obj)