
jas.DeprecatedAttr Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jasmin Show documentation
Show all versions of jasmin Show documentation
Java Assembler Interface for the Soot framework
/**
* This is used to represent the deprecated attr
*
* @author $Author: Jennifer Lhotak$
* @version $Revision: 1.1 $
*/
package jas;
import java.io.*;
public class DeprecatedAttr
{
static CP attr = new AsciiCP("Deprecated");
/**
* Create a new deprecated attribute
*/
public DeprecatedAttr()
{ }
void resolve(ClassEnv e)
{
e.addCPItem(attr);
}
void write(ClassEnv e, DataOutputStream out)
throws IOException, jasError
{
out.writeShort(e.getCPIndex(attr));
out.writeInt(0);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy