Package org.jf.dexlib2.formatter
Class DexFormatter
java.lang.Object
org.jf.dexlib2.formatter.DexFormatter
- Direct Known Subclasses:
BaksmaliFormatter
This class handles formatting and getting strings for various types of items in a dex file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCallSite(CallSiteReference callSiteReference) getEncodedValue(EncodedValue encodedValue) getFieldDescriptor(FieldReference fieldReference) getMethodDescriptor(MethodReference methodReference) getMethodHandle(MethodHandleReference methodHandleReference) getMethodProtoDescriptor(MethodProtoReference protoReference) getQuotedString(CharSequence string) getReference(Reference reference) getShortFieldDescriptor(FieldReference fieldReference) getShortMethodDescriptor(MethodReference methodReference) getType(CharSequence type) Gets aDexFormattedWriterfor writing formatted strings to aWriter, with the same settings as this Formatter.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DexFormatter
public DexFormatter()
-
-
Method Details
-
getWriter
Gets aDexFormattedWriterfor writing formatted strings to aWriter, with the same settings as this Formatter.- Parameters:
writer- TheWriterthat theDexFormattedWriterwill write to.
-
getMethodDescriptor
-
getShortMethodDescriptor
-
getMethodProtoDescriptor
-
getFieldDescriptor
-
getShortFieldDescriptor
-
getMethodHandle
-
getCallSite
-
getType
-
getQuotedString
-
getEncodedValue
-
getReference
-