Package soot.jimple.toolkits.typing.fast
Class MapTyping
- java.lang.Object
-
- soot.jimple.toolkits.typing.fast.MapTyping
-
-
Constructor Summary
Constructors Constructor Description MapTyping(Collection<Local> vs)MapTyping(ITyping tg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Clears all locals and typings.ITypingcreateCloneTyping()Creates a new typing class as a copy of this topic.Typeget(Local v)Returns the type (or null)Iterable<Local>getAllLocals()Returns an iterable of all typed localsMap<Local,Type>getMap()booleanisEmpty()Returns true if no locals are typedvoidset(Local v, Type t)Sets the type of the local variableStringtoString()
-
-
-
Constructor Detail
-
MapTyping
public MapTyping(Collection<Local> vs)
-
MapTyping
public MapTyping(ITyping tg)
-
-
Method Detail
-
set
public void set(Local v, Type t)
Description copied from interface:ITypingSets the type of the local variable
-
getAllLocals
public Iterable<Local> getAllLocals()
Description copied from interface:ITypingReturns an iterable of all typed locals- Specified by:
getAllLocalsin interfaceITyping- Returns:
- an iterable of all typed locals
-
isEmpty
public boolean isEmpty()
Description copied from interface:ITypingReturns true if no locals are typed
-
clear
public void clear()
Description copied from interface:ITypingClears all locals and typings.
-
createCloneTyping
public ITyping createCloneTyping()
Description copied from interface:ITypingCreates a new typing class as a copy of this topic.- Specified by:
createCloneTypingin interfaceITyping- Returns:
- the new
ITyping
-
-