Package soot.plugins.internal
Class ReflectionClassLoadingStrategy
- java.lang.Object
-
- soot.plugins.internal.ReflectionClassLoadingStrategy
-
- All Implemented Interfaces:
ClassLoadingStrategy
public class ReflectionClassLoadingStrategy extends Object implements ClassLoadingStrategy
Class loading strategy that uses traditional reflection for instantiation.- Author:
- Bernhard J. Berger
-
-
Constructor Summary
Constructors Constructor Description ReflectionClassLoadingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcreate(String className)Creates an instance of the given class name.
-
-
-
Method Detail
-
create
public Object create(String className) throws ClassNotFoundException, InstantiationException
Description copied from interface:ClassLoadingStrategyCreates an instance of the given class name.- Specified by:
createin interfaceClassLoadingStrategy- Parameters:
className- Name of the class.- Returns:
- The newly created instance.
- Throws:
ClassNotFoundExceptionInstantiationException
-
-