org.softevo.jdynpur.eval
Class PurityResults
java.lang.Object
org.softevo.jdynpur.eval.PurityResults
public class PurityResults
- extends java.lang.Object
Field Summary |
protected java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> |
executedMethodIdentifiers
The set of executed MethodIdentifiers . |
protected java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> |
impureMethodIdentifiers
The set of MethodIdentifiers known to be impure. |
protected java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> |
methodsModifyingThisObject
The set of methods known to modify the object they were invoked on. |
protected java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> |
pureMethodIdentifiers
The set of MethodIdentifiers known to be pure. |
Constructor Summary |
PurityResults()
|
PurityResults(java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> pureMethodIdentifiers,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> impureMethodIdentifiers,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> methodsModifyingThisObject,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> executedMethodIdentifiers,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,PurityTraceAnalyser.ParameterMutabilityInformation> parameterMutabilityInformation)
|
Method Summary |
protected void |
addMethodElements(org.w3c.dom.Element parent,
org.w3c.dom.Document document,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> methodIdentifiers)
|
protected void |
addParameterElements(org.w3c.dom.Element parent,
org.w3c.dom.Document document,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,PurityTraceAnalyser.ParameterMutabilityInformation> parameterMutabilityInformation)
|
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> |
getExecutedMethodIdentifiers()
|
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> |
getImpureMethodIdentifiers()
|
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> |
getMethodsModifyingThisObject()
|
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,PurityTraceAnalyser.ParameterMutabilityInformation> |
getParameterMutabilityInformation()
|
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> |
getPureMethodIdentifiers()
|
static PurityResults |
read(java.lang.String fileName)
|
void |
save(java.lang.String fileName)
|
void |
saveXML(java.io.OutputStream outputStream)
|
void |
saveXML(java.lang.String fileName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
methodsModifyingThisObject
protected java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> methodsModifyingThisObject
- The set of methods known to modify the object they were invoked on.
pureMethodIdentifiers
protected java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> pureMethodIdentifiers
- The set of
MethodIdentifiers
known to be pure.
impureMethodIdentifiers
protected java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> impureMethodIdentifiers
- The set of
MethodIdentifiers
known to be impure.
executedMethodIdentifiers
protected java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> executedMethodIdentifiers
- The set of executed
MethodIdentifiers
.
PurityResults
public PurityResults()
PurityResults
public PurityResults(java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> pureMethodIdentifiers,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> impureMethodIdentifiers,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> methodsModifyingThisObject,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> executedMethodIdentifiers,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,PurityTraceAnalyser.ParameterMutabilityInformation> parameterMutabilityInformation)
getExecutedMethodIdentifiers
public java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> getExecutedMethodIdentifiers()
getImpureMethodIdentifiers
public java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> getImpureMethodIdentifiers()
getMethodsModifyingThisObject
public java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> getMethodsModifyingThisObject()
getPureMethodIdentifiers
public java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> getPureMethodIdentifiers()
getParameterMutabilityInformation
public java.util.HashMap<org.softevo.util.asm.MethodIdentifier,PurityTraceAnalyser.ParameterMutabilityInformation> getParameterMutabilityInformation()
saveXML
public void saveXML(java.lang.String fileName)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
javax.xml.transform.TransformerException
- Throws:
java.io.IOException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
saveXML
public void saveXML(java.io.OutputStream outputStream)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
javax.xml.transform.TransformerException
- Throws:
java.io.IOException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
addParameterElements
protected void addParameterElements(org.w3c.dom.Element parent,
org.w3c.dom.Document document,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,PurityTraceAnalyser.ParameterMutabilityInformation> parameterMutabilityInformation)
addMethodElements
protected void addMethodElements(org.w3c.dom.Element parent,
org.w3c.dom.Document document,
java.util.HashMap<org.softevo.util.asm.MethodIdentifier,java.util.HashSet<java.lang.String>> methodIdentifiers)
save
public void save(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static PurityResults read(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2007-2008 Software Engineering Group at Saarland University. All Rights Reserved.