Class DexCommentManager
java.lang.Object
com.pnfsoftware.jeb.core.units.impl.AbstractCommentManager<ICodeCoordinates,IDexUnit>
com.pnfsoftware.jeb.core.units.code.CodeCommentManager<IDexUnit>
com.pnfsoftware.jeb.core.units.code.android.DexCommentManager
A comment manager for
dex units. The secondary addressing scheme uses
ICodeCoordinates.-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.units.code.CodeCommentManager
COMMENT_FLAG_ASSEMBLY_ONLY, COMMENT_FLAG_DECOMPILER_META, COMMENT_FLAG_SOURCE_ONLYFields inherited from class com.pnfsoftware.jeb.core.units.impl.AbstractCommentManager
COMMENT_FLAG_FAVORITE, INLINE, PRE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddressToCoord(String address) Convert a string address to a custom coordinate.coordToAddress(ICodeCoordinates coord) Convert a custom coordinate to a string address.Methods inherited from class com.pnfsoftware.jeb.core.units.impl.AbstractCommentManager
addMetaComment, addMetaComment, addMetaComment2, addMetaComment2, formatComments, formatComments2, formatMetaComment, formatMetaFlags, getComment, getComment2, getComments, getComments2, getInlineComment, getInlineComment2, getMetaCommentObjects, getMetaCommentObjects2, getMetaComments, getMetaComments, getMetaComments2, getMetaComments2, getPreComment, getPreComment2, getPrimary, getPrimary2, getPrimaryMap, getPrimaryMap2, getUnit, putAll, removeMetaComment, removeMetaComment2, setComment, setComment2, setInlineComment, setInlineComment, setInlineComment2, setInlineComment2, setPreComment, setPreComment, setPreComment2, setPreComment2, setPrimary, setPrimary2
-
Constructor Details
-
DexCommentManager
Create a Dex comment manager.- Parameters:
unit- Dex unit
-
-
Method Details
-
addressToCoord
Description copied from class:AbstractCommentManagerConvert a string address to a custom coordinate.- Overrides:
addressToCoordin classCodeCommentManager<IDexUnit>- Parameters:
address- address- Returns:
- coordinate, or null if the address cannot be converted
-
coordToAddress
Description copied from class:AbstractCommentManagerConvert a custom coordinate to a string address.- Overrides:
coordToAddressin classCodeCommentManager<IDexUnit>- Parameters:
coord- coordinate- Returns:
- address, or null if the coordinate cannot be converted
-