
jas.SyntheticAttr 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 synthetic attr
*
* @author $Author: Jennifer Lhotak$
* @version $Revision: 1.1 $
*/
package jas;
import java.io.*;
public class SyntheticAttr
{
static CP attr = new AsciiCP("Synthetic");
/**
* Create a new synthetic attribute
*/
public SyntheticAttr()
{ }
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