public class GsonDeserializationInvocationFinder
extends java.lang.Object
implements proguard.classfile.instruction.visitor.InstructionVisitor
| Constructor and Description |
|---|
GsonDeserializationInvocationFinder(proguard.classfile.ClassPool programClassPool,
proguard.classfile.ClassPool libraryClassPool,
proguard.classfile.visitor.ClassVisitor domainClassVisitor,
proguard.classfile.util.WarningPrinter warningPrinter)
Creates a new GsonDeserializationInvocationFinder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
visitAnyInstruction(proguard.classfile.Clazz clazz,
proguard.classfile.Method method,
proguard.classfile.attribute.CodeAttribute codeAttribute,
int offset,
proguard.classfile.instruction.Instruction instruction) |
public GsonDeserializationInvocationFinder(proguard.classfile.ClassPool programClassPool,
proguard.classfile.ClassPool libraryClassPool,
proguard.classfile.visitor.ClassVisitor domainClassVisitor,
proguard.classfile.util.WarningPrinter warningPrinter)
programClassPool - the program class pool used to look up class
references.libraryClassPool - the library class pool used to look up class
references.domainClassVisitor - the visitor to which found domain classes that
are involved in Gson deserialization will
be delegated.warningPrinter - used to print notes about domain classes that
can not be handled by the Gson optimization.public void visitAnyInstruction(proguard.classfile.Clazz clazz,
proguard.classfile.Method method,
proguard.classfile.attribute.CodeAttribute codeAttribute,
int offset,
proguard.classfile.instruction.Instruction instruction)
visitAnyInstruction in interface proguard.classfile.instruction.visitor.InstructionVisitor