|
|||||||||
| Home >> All >> com >> techtrader >> modules >> tools >> [ bytecode overview ] | PREV NEXT | ||||||||
Uses of Class
com.techtrader.modules.tools.bytecode.Attribute
| Uses of Attribute in com.techtrader.modules.tools.bytecode |
| Subclasses of Attribute in com.techtrader.modules.tools.bytecode | |
class |
Code
Representation of a code block of a class. |
class |
ConstantValueAttribute
Representation of a constant value in a .class file. |
class |
DeprecatedAttribute
Attribute signifying that a method or class is deprecated. |
class |
ExceptionsAttribute
Attribute indicating what checked exceptions a method can throw; referenced from a BCMethod. |
class |
InnerClassesAttribute
Attribute describing the inner classes of a .class file. |
class |
LineNumberTableAttribute
A LineNumberTableAttributs holds a table of line number to program counter mappings, so that errors can be reported with the correct line number. |
class |
LocalVariableTableAttribute
Represents a local variable table for a method. |
class |
SourceFileAttribute
Attribute naming the source file for this .class file. |
class |
SyntheticAttribute
Attribute that should be present for .class files with generated source code. |
class |
UnknownAttribute
An unrecognized attribute; .class files are allowed to contain attributes that are not recognized, and the JVM must ignore them. |
| Methods in com.techtrader.modules.tools.bytecode that return Attribute | |
Attribute[] |
BCEntity.getAttributes()
Get all the attributes owned by this entity. |
Attribute |
BCEntity.getAttribute(java.lang.String name)
Return the attribute with the given name. |
Attribute[] |
BCEntity.getAttributes(java.lang.String name)
Returns all attributes with the given name. |
Attribute |
BCEntity.importAttribute(Attribute attr)
Import an attribute from another entity, or make a copy of one on this entity. |
Attribute |
BCEntity.addAttribute(java.lang.String name)
Add an attribute of the given type. |
protected static Attribute |
Attribute.createAttribute(java.lang.String name,
BCEntity owner)
Create an attribute of the appropriate type based on the the attribute name. |
| Methods in com.techtrader.modules.tools.bytecode with parameters of type Attribute | |
protected void |
UnknownAttribute.copy(Attribute other)
|
protected void |
SourceFileAttribute.copy(Attribute other)
|
protected void |
LocalVariableTableAttribute.copy(Attribute other)
|
protected void |
LineNumberTableAttribute.copy(Attribute other)
|
protected void |
InnerClassesAttribute.copy(Attribute other)
|
protected void |
ExceptionsAttribute.copy(Attribute other)
|
protected void |
ConstantValueAttribute.copy(Attribute other)
|
protected void |
Code.copy(Attribute attr)
Copies the instructions of the given code block to this one; used to import methods from other classes or copy methods within a class. |
Attribute |
BCEntity.importAttribute(Attribute attr)
Import an attribute from another entity, or make a copy of one on this entity. |
boolean |
BCEntity.removeAttribute(Attribute attribute)
Remove the given attribute. |
protected void |
Attribute.copy(Attribute other)
Copy the information from the given attribute to this one. |
|
|||||||||
| Home >> All >> com >> techtrader >> modules >> tools >> [ bytecode overview ] | PREV NEXT | ||||||||