public class MethodSignatureProcessor extends java.lang.Object implements JarProcessor
PackageRemapper is only able to remap string values which exactly match the package
being renamed. Method signatures are more difficult to detect so this class keeps track of which
methods definitely take method signatures and remaps those explicitly.
| Constructor and Description |
|---|
MethodSignatureProcessor(org.objectweb.asm.commons.Remapper remapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
process(EntryStruct struct)
Process the entry (p.ex.
|
public MethodSignatureProcessor(org.objectweb.asm.commons.Remapper remapper)
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.IOException