Package com.android.dx.cf.iface
Interface ParseObserver
- All Known Implementing Classes:
BaseDumper
,BlockDumper
,ClassDumper
,DotDumper
,SsaDumper
public interface ParseObserver
Observer of parsing in action. This is used to supply feedback from
the various things that parse particularly to the dumping utilities.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeIndent
(int indentDelta) Indicate that the level of indentation for a dump should increase or decrease (positive or negative argument, respectively).void
endParsingMember
(ByteArray bytes, int offset, String name, String descriptor, Member member) Indicate that a particular member is no longer being parsed.void
Indicate that some parsing happened.void
startParsingMember
(ByteArray bytes, int offset, String name, String descriptor) Indicate that a particular member is now being parsed.
-
Method Details
-
changeIndent
void changeIndent(int indentDelta) Indicate that the level of indentation for a dump should increase or decrease (positive or negative argument, respectively).- Parameters:
indentDelta
- the amount to change indentation
-
startParsingMember
Indicate that a particular member is now being parsed.- Parameters:
bytes
-non-null;
the source that is being parsedoffset
- offset intobytes
for the start of the membername
-non-null;
name of the memberdescriptor
-non-null;
descriptor of the member
-
endParsingMember
Indicate that a particular member is no longer being parsed.- Parameters:
bytes
-non-null;
the source that was parsedoffset
- offset intobytes
for the end of the membername
-non-null;
name of the memberdescriptor
-non-null;
descriptor of the membermember
-non-null;
the actual member that was parsed
-
parsed
Indicate that some parsing happened.- Parameters:
bytes
-non-null;
the source that was parsedoffset
- offset intobytes
for what was parsedlen
- number of bytes parsedhuman
-non-null;
human form for what was parsed
-