public class Instantiator extends Object implements IInstantiator
Constructor and Description |
---|
Instantiator(VolatileMethodSummary body,
TypeSafeInstructionFactory instructionFactory,
SSAValueManager pm,
IClassHierarchy cha,
MethodReference scope,
AnalysisScope analysisScope) |
Modifier and Type | Method and Description |
---|---|
SSAValue |
createInstance(TypeReference T,
boolean asManaged,
SSAValue.VariableKey key,
Set<? extends SSAValue> seen)
Creates a new instance of type calling all that's necessary.
|
int |
createInstance(TypeReference type,
Object... instantiatorArgs)
Satisfy the interface.
|
public Instantiator(VolatileMethodSummary body, TypeSafeInstructionFactory instructionFactory, SSAValueManager pm, IClassHierarchy cha, MethodReference scope, AnalysisScope analysisScope)
public SSAValue createInstance(TypeReference T, boolean asManaged, SSAValue.VariableKey key, Set<? extends SSAValue> seen)
public int createInstance(TypeReference type, Object... instantiatorArgs)
createInstance
in interface IInstantiator
type
- Type to generate an instance frominstantiatorArgs
- passed through utility functions