Uses of Class
serp.bytecode.Attribute
-
Packages that use Attribute Package Description serp.bytecode Bytecode Manipuationserp.bytecode.visitor Bytecode Visitor -
-
Uses of Attribute in serp.bytecode
Subclasses of Attribute in serp.bytecode Modifier and Type Class Description classAnnotationsJava annotation data.classBootstrapMethodsclassCodeRepresentation of a code block of a class.classConstantValueA constant value for a member field.classDeprecatedAttribute signifying that a method or class is deprecated.classExceptionsAttribute declaring the checked exceptions a method can throw.classInnerClassesAttribute describing all referenced classes that are not package members.classLineNumberTableCode blocks compiled from source have line number tables mapping opcodes to source lines.classLocalTableCode blocks compiled from source have local tables mapping locals used in opcodes to their names and descriptions.classLocalVariableTableCode blocks compiled from source have local variable tables mapping locals used in opcodes to their names and descriptions.classLocalVariableTypeTableCode blocks compiled from source have local variable type tables mapping generics-using locals used in opcodes to their names and signatures.classSourceFileAttribute naming the source file for this class.classSyntheticAttribute marking a member as synthetic, or not present in the class source code.classUnknownAttributeAn 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 Attribute Modifier and Type Method Description AttributeAttributes. addAttribute(java.lang.String name)Add an attribute of the given type.AttributeAttributes. addAttribute(Attribute attr)Import an attribute from another entity, or make a copy of one on this entity.(package private) static AttributeAttribute. create(java.lang.String name, Attributes owner)Create an attribute of the appropriate type based on the the attribute name.AttributeAttributes. getAttribute(java.lang.String name)Return the attribute with the given name.Attribute[]Attributes. getAttributes()Return all the attributes owned by this entity.Attribute[]Attributes. getAttributes(java.lang.String name)Return all attributes with the given name.Methods in serp.bytecode with parameters of type Attribute Modifier and Type Method Description AttributeAttributes. addAttribute(Attribute attr)Import an attribute from another entity, or make a copy of one on this entity.(package private) voidAnnotations. read(Attribute other)(package private) voidAttribute. read(Attribute other)Copy the information from the given attribute to this one.(package private) voidCode. read(Attribute attr)(package private) voidConstantValue. read(Attribute other)(package private) voidExceptions. read(Attribute other)(package private) voidInnerClasses. read(Attribute other)(package private) voidLineNumberTable. read(Attribute other)(package private) voidLocalTable. read(Attribute other)(package private) voidSourceFile. read(Attribute other)(package private) voidUnknownAttribute. read(Attribute other)booleanAttributes. removeAttribute(Attribute attribute)Remove the given attribute.voidAttributes. 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 Attribute Modifier and Type Method Description voidBCVisitor. enterAttribute(Attribute obj)voidPrettyPrintVisitor. enterAttribute(Attribute obj)voidBCVisitor. exitAttribute(Attribute obj)voidPrettyPrintVisitor. exitAttribute(Attribute obj)
-