Interface IDexItemToAnchor
public interface IDexItemToAnchor
-
Method Summary
Modifier and TypeMethodDescriptionfrom(ICodeCoordinates itemCoordinates) Convert anICodeCoordinatesto its anchor id.Convert anIDexClassto its anchor id.Convert anIDexFieldto its anchor id.Convert the first instruction of aBasicBlockof anIDexMethodto its anchor id.Convert anIDexMethodto its anchor id.get(long anchorId) intsize()Same asITextDocument.getAnchorCount()
-
Method Details
-
size
int size()Same asITextDocument.getAnchorCount()- Returns:
- the anchor count
-
fromClass
Convert anIDexClassto its anchor id.- Parameters:
c- dex class.- Returns:
- anchor id. See
IAnchorfor more details.
-
fromField
Convert anIDexFieldto its anchor id.- Parameters:
f- dex field.- Returns:
- anchor id. See
IAnchorfor more details.
-
fromMethod
Convert anIDexMethodto its anchor id.- Parameters:
m- dex method.- Returns:
- anchor id. See
IAnchorfor more details.
-
fromInstruction
Convert the first instruction of aBasicBlockof anIDexMethodto its anchor id.- Parameters:
m- dex method.b-- Returns:
- anchor id. See
IAnchorfor more details.
-
from
Convert anICodeCoordinatesto its anchor id.- Parameters:
itemCoordinates- itemICodeCoordinates.- Returns:
- anchor id. See
IAnchorfor more details.
-
get
- Parameters:
anchorId-- Returns:
-