Package com.ibm.wala.util.ssa
Interface IInstantiator
-
- All Known Implementing Classes:
FlatInstantiator,Instantiator,SpecializedInstantiator
public interface IInstantiatorUsed for CallBacks to create an Instance. When methods in this package detect, that they have to generate a new instance of a type this CallBack will be used. This mainly applies to the connectThrough-Function.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcreateInstance(TypeReference type, Object... instantiatorArgs)Create an instance of type.
-
-
-
Method Detail
-
createInstance
int createInstance(TypeReference type, Object... instantiatorArgs)
Create an instance of type. The varArgs argument gets passed through from functions like connectThrough (which have varArgs as well) to the instantiatior.- Parameters:
type- Type to generate an instance frominstantiatorArgs- passed through utility functions- Returns:
- SSA-Number of the instance
-
-