public class ModuleRefType extends RefType
| Modifier | Constructor and Description |
|---|---|
|
ModuleRefType(Singletons.Global g) |
protected |
ModuleRefType(String className,
String moduleName) |
| Modifier and Type | Method and Description |
|---|---|
Type |
getArrayElementType()
If I have a variable x of declared type t, what is a good declared type for the expression ((Object[]) x)[i]? The
getArrayElementType() method in RefLikeType was introduced even later to answer this question for all classes
implementing RefLikeType.
|
String |
getModuleName() |
SootClass |
getSootClass()
Get the SootClass object corresponding to this RefType.
|
Type |
merge(Type other,
Scene cm)
Returns the least common superclass of this type and other.
|
static RefType |
v(String className) |
static RefType |
v(String className,
com.google.common.base.Optional<String> moduleName) |
apply, compareTo, equals, getAnySubType, getClassName, hashCode, hasSootClass, isAllowedInFinalCode, setAnySubType, setClassName, setSootClass, toQuotedString, toString, v, vgetArrayType, getEscapedName, getNumber, makeArrayType, setArrayType, setNumber, toMachineTypepublic ModuleRefType(Singletons.Global g)
public String getModuleName()
public SootClass getSootClass()
getSootClass in class RefTypepublic Type merge(Type other, Scene cm)
public Type getArrayElementType()
RefLikeTypegetArrayElementType in class RefTypeCopyright © 2020 Soot OSS. All rights reserved.