public class GsonSerializationInvocationFinder
extends java.lang.Object
implements proguard.classfile.instruction.visitor.InstructionVisitor
| Constructor and Description |
|---|
GsonSerializationInvocationFinder(proguard.classfile.ClassPool programClassPool,
proguard.classfile.ClassPool libraryClassPool,
proguard.classfile.visitor.ClassVisitor domainClassVisitor,
proguard.classfile.util.WarningPrinter warningPrinter)
Creates a new GsonSerializationInvocationFinder.
|
| 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 GsonSerializationInvocationFinder(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 serialization will
be delegated.warningPrinter - used to print warnings 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