Package soot.dotnet.types
Class DotnetType
- java.lang.Object
-
- soot.dotnet.types.DotnetType
-
public class DotnetType extends Object
Represents a .NET Type SourceLocator -> ClassProvider -> ClassSource (DotnetType) -> MethodSource
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOPY_STRUCT
-
Constructor Summary
Constructors Constructor Description DotnetType(ProtoAssemblyAllTypes.TypeDefinition typeDefinition, File assemblyFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DotnetFieldcreateDotnetField(ProtoAssemblyAllTypes.FieldDefinition field)static voidcreateStructDefaultHashCodeEquals(SootClass sootClass)static SootMethodgetCopyMethod(SootClass sootClass)IInitialResolver.DependenciesresolveSootClass(SootClass sootClass)Resolve this .NET Type to a SootClass
-
-
-
Field Detail
-
COPY_STRUCT
public static final String COPY_STRUCT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DotnetType
public DotnetType(ProtoAssemblyAllTypes.TypeDefinition typeDefinition, File assemblyFile)
-
-
Method Detail
-
resolveSootClass
public IInitialResolver.Dependencies resolveSootClass(SootClass sootClass)
Resolve this .NET Type to a SootClass- Parameters:
sootClass- SootClass to fill with information- Returns:
- dependencies which this type depend on (base class, implemented interfaces, method calls, etc.)
-
createStructDefaultHashCodeEquals
public static void createStructDefaultHashCodeEquals(SootClass sootClass)
-
getCopyMethod
public static SootMethod getCopyMethod(SootClass sootClass)
-
createDotnetField
protected DotnetField createDotnetField(ProtoAssemblyAllTypes.FieldDefinition field)
-
-