public abstract class JarTransformer extends java.lang.Object implements JarProcessor
| Constructor and Description |
|---|
JarTransformer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
process(EntryStruct struct)
Process the entry (p.ex.
|
protected abstract org.objectweb.asm.ClassVisitor |
transform(org.objectweb.asm.ClassVisitor v) |
public boolean process(EntryStruct struct) throws java.io.IOException
JarProcessor
Returns true if the processor "successfully" processed the entry. In practice,
"true" is used to indicate that the entry should be kept, and false is used to indicate the
entry should be thrown away, and doesn't indicate anything in particular about what this
JarProcessor actually did to the entry (if anything).
process in interface JarProcessorstruct - The jar entry.true if the process chain can continue after this processjava.io.IOExceptionprotected abstract org.objectweb.asm.ClassVisitor transform(org.objectweb.asm.ClassVisitor v)