[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attributes



Soot reads the following attributes:
SourceFile
ConstantValue
Code
Exceptions
LineNumberTable
LocalVariableTable

However, only LineNumberTable has a corresponding Tag implementation
allowing it to be represented as a Soot attribute. If you need to
preserve anything else, you need to implement a Tag to represent it, and
a TagAggregator to convert it from a Soot attribute into a bytecode
attribute.

Ondrej

On Sun, Mar 16, 2003 at 09:54:27PM -0500, Chris Pickett wrote:
>  From the Soot tutorials ...
> 
> Known shortcomings:
> 
> Soot cannot currently preserve existing attributes in a class file when 
> transforming and annotating it. In the foo example, any debug 
> information from javac would be lost after annotation.
> 
> ====
> 
> Is this still the case?
> 
> Chris
>