public class DexType extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected org.jf.dexlib2.iface.reference.TypeReference |
type |
| Constructor and Description |
|---|
DexType(String type) |
DexType(org.jf.dexlib2.iface.reference.TypeReference type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
org.jf.dexlib2.iface.reference.TypeReference |
getType() |
static boolean |
isWide(String type) |
static boolean |
isWide(org.jf.dexlib2.iface.reference.TypeReference typeReference)
Return if the given TypeIdItem is wide (i.e.
|
boolean |
overwriteEquivalent(DexType field) |
static String |
toDalvikICAT(String type) |
Type |
toSoot()
Return the appropriate Soot Type for this DexType.
|
static Type |
toSoot(String type) |
static Type |
toSoot(org.jf.dexlib2.iface.reference.TypeReference type)
Return the appropriate Soot Type for the given TypeReference.
|
static String |
toSootAT(String type)
Types read from annotations should be converted to Soot type.
|
static String |
toSootICAT(String type)
Seems that representation of Annotation type in Soot is not consistent with the normal type representation.
|
String |
toString() |
protected String name
protected org.jf.dexlib2.iface.reference.TypeReference type
public DexType(org.jf.dexlib2.iface.reference.TypeReference type)
public DexType(String type)
public String getName()
public boolean overwriteEquivalent(DexType field)
public org.jf.dexlib2.iface.reference.TypeReference getType()
public Type toSoot()
public static Type toSoot(org.jf.dexlib2.iface.reference.TypeReference type)
type - the TypeReference to convertpublic static boolean isWide(org.jf.dexlib2.iface.reference.TypeReference typeReference)
typeReference.getType() - the TypeIdItem to analyzepublic static boolean isWide(String type)
public static String toSootICAT(String type)
type - pos - public static String toSootAT(String type)
type - Copyright © 2020 Soot OSS. All rights reserved.