org.lightwolf.tools
Class LightWolfEnhancer

java.lang.Object
  extended by org.lightwolf.tools.LightWolfEnhancer

public class LightWolfEnhancer
extends Object


Field Summary
static boolean changeFile
           
static int DONT_NEED_TRANSFORM
           
static int NEED_TRANSFORM
           
static int TRANSFORMED
           
static int WAS_TRANSFORMED_BEFORE
           
 
Constructor Summary
LightWolfEnhancer(ClassLoader classLoader)
           
LightWolfEnhancer(IClassProvider classProvider)
           
 
Method Summary
static void append(org.objectweb.asm.tree.AbstractInsnNode inst, StringBuilder dest)
           
static String getResultName(int result)
           
static String toString(org.objectweb.asm.tree.AbstractInsnNode inst)
           
 int transform(File f)
           
 int transform(PublicByteArrayOutputStream classBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DONT_NEED_TRANSFORM

public static final int DONT_NEED_TRANSFORM
See Also:
Constant Field Values

NEED_TRANSFORM

public static final int NEED_TRANSFORM
See Also:
Constant Field Values

WAS_TRANSFORMED_BEFORE

public static final int WAS_TRANSFORMED_BEFORE
See Also:
Constant Field Values

TRANSFORMED

public static final int TRANSFORMED
See Also:
Constant Field Values

changeFile

public static boolean changeFile
Constructor Detail

LightWolfEnhancer

public LightWolfEnhancer(IClassProvider classProvider)

LightWolfEnhancer

public LightWolfEnhancer(ClassLoader classLoader)
Method Detail

getResultName

public static String getResultName(int result)

transform

public int transform(PublicByteArrayOutputStream classBytes)

transform

public int transform(File f)
              throws IOException
Throws:
IOException

toString

public static String toString(org.objectweb.asm.tree.AbstractInsnNode inst)

append

public static void append(org.objectweb.asm.tree.AbstractInsnNode inst,
                          StringBuilder dest)