Interface IDexItemToAnchor
public interface IDexItemToAnchor
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(ICodeCoordinates itemCoordinates) Convert anICodeCoordinates
to its anchor id.Convert anIDexClass
to its anchor id.Convert anIDexField
to its anchor id.Convert the first instruction of aBasicBlock
of anIDexMethod
to its anchor id.Convert anIDexMethod
to its anchor id.get
(long anchorId) int
size()
Same asITextDocument.getAnchorCount()
-
Method Details
-
size
int size()Same asITextDocument.getAnchorCount()
- Returns:
- the anchor count
-
fromClass
Convert anIDexClass
to its anchor id.- Parameters:
c
- dex class.- Returns:
- anchor id. See
IAnchor
for more details.
-
fromField
Convert anIDexField
to its anchor id.- Parameters:
f
- dex field.- Returns:
- anchor id. See
IAnchor
for more details.
-
fromMethod
Convert anIDexMethod
to its anchor id.- Parameters:
m
- dex method.- Returns:
- anchor id. See
IAnchor
for more details.
-
fromInstruction
Convert the first instruction of aBasicBlock
of anIDexMethod
to its anchor id.- Parameters:
m
- dex method.b
-- Returns:
- anchor id. See
IAnchor
for more details.
-
from
Convert anICodeCoordinates
to its anchor id.- Parameters:
itemCoordinates
- itemICodeCoordinates
.- Returns:
- anchor id. See
IAnchor
for more details.
-
get
- Parameters:
anchorId
-- Returns:
-