public class CheapPurityAnalyzer extends Object
| Constructor and Description |
|---|
CheapPurityAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterfaceCall(String sourceClassName,
String sourceMethodName,
String sourceDescriptor,
String targetClassName,
String targetMethodName,
String targetDescriptor) |
void |
addInterfaceMethod(String className,
String methodName,
String methodDescriptor) |
void |
addMethod(String className,
String methodName,
String methodDescriptor) |
void |
addMethodWithBody(String className,
String methodName,
String methodDescriptor) |
void |
addSpecialCall(String sourceClassName,
String sourceMethodName,
String sourceDescriptor,
String targetClassName,
String targetMethodName,
String targetDescriptor) |
void |
addStaticCall(String sourceClassName,
String sourceMethodName,
String sourceDescriptor,
String targetClassName,
String targetMethodName,
String targetDescriptor) |
void |
addUpdatesFieldMethod(String className,
String methodName,
String descriptor) |
void |
addVirtualCall(String sourceClassName,
String sourceMethodName,
String sourceDescriptor,
String targetClassName,
String targetMethodName,
String targetDescriptor) |
static CheapPurityAnalyzer |
getInstance() |
List<String> |
getPureMethods(String className) |
boolean |
isPure(Method method)
Returns if a Method is
cheap-pure |
boolean |
isPure(String className,
String methodName,
String descriptor)
Returns if the method is cheap-pure.
|
public static CheapPurityAnalyzer getInstance()
public boolean isPure(String className, String methodName, String descriptor)
className - The declaring class namemethodName - The method namedescriptor - The method descriptorpublic boolean isPure(Method method)
cheap-puremethod - public void addUpdatesFieldMethod(String className, String methodName, String descriptor)
public void addStaticCall(String sourceClassName, String sourceMethodName, String sourceDescriptor, String targetClassName, String targetMethodName, String targetDescriptor)
public void addVirtualCall(String sourceClassName, String sourceMethodName, String sourceDescriptor, String targetClassName, String targetMethodName, String targetDescriptor)
public void addInterfaceCall(String sourceClassName, String sourceMethodName, String sourceDescriptor, String targetClassName, String targetMethodName, String targetDescriptor)
public void addSpecialCall(String sourceClassName, String sourceMethodName, String sourceDescriptor, String targetClassName, String targetMethodName, String targetDescriptor)
public void addInterfaceMethod(String className, String methodName, String methodDescriptor)
Copyright © 2010–2017 EvoSuite. All rights reserved.