FileDocCategorySizeDatePackage
ParseObserver.javaAPI DocAndroid 5.1 API2605Thu Mar 12 22:18:30 GMT 2015com.android.dx.cf.iface

ParseObserver

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.

Fields Summary
Constructors Summary
Methods Summary
public voidchangeIndent(int indentDelta)
Indicate that the level of indentation for a dump should increase or decrease (positive or negative argument, respectively).

param
indentDelta the amount to change indentation

public voidendParsingMember(com.android.dx.util.ByteArray bytes, int offset, java.lang.String name, java.lang.String descriptor, Member member)
Indicate that a particular member is no longer being parsed.

param
bytes {@code non-null;} the source that was parsed
param
offset offset into {@code bytes} for the end of the member
param
name {@code non-null;} name of the member
param
descriptor {@code non-null;} descriptor of the member
param
member {@code non-null;} the actual member that was parsed

public voidparsed(com.android.dx.util.ByteArray bytes, int offset, int len, java.lang.String human)
Indicate that some parsing happened.

param
bytes {@code non-null;} the source that was parsed
param
offset offset into {@code bytes} for what was parsed
param
len number of bytes parsed
param
human {@code non-null;} human form for what was parsed

public voidstartParsingMember(com.android.dx.util.ByteArray bytes, int offset, java.lang.String name, java.lang.String descriptor)
Indicate that a particular member is now being parsed.

param
bytes {@code non-null;} the source that is being parsed
param
offset offset into {@code bytes} for the start of the member
param
name {@code non-null;} name of the member
param
descriptor {@code non-null;} descriptor of the member