Package proguard.classfile.util
Class ConstructorInvocationOffsetFinder
- java.lang.Object
-
- proguard.classfile.util.ConstructorInvocationOffsetFinder
-
- All Implemented Interfaces:
MemberVisitor
public class ConstructorInvocationOffsetFinder extends java.lang.Object implements MemberVisitor
This utility class finds the offset of the invocation to the current or super class constructor after visiting anmethod.
-
-
Constructor Summary
Constructors Constructor Description ConstructorInvocationOffsetFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConstructorCallOffset()
void
reset()
void
visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.visitor.MemberVisitor
visitAnyMember, visitLibraryField, visitLibraryMember, visitLibraryMethod, visitProgramField, visitProgramMember
-
-
-
-
Method Detail
-
getConstructorCallOffset
public int getConstructorCallOffset()
-
reset
public void reset()
-
visitProgramMethod
public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
- Specified by:
visitProgramMethod
in interfaceMemberVisitor
-
-