Commit 33c9230a authored by Lukáš Marek's avatar Lukáš Marek

Analysis interface changed - project does not compile

parent c37ef03f
......@@ -2,16 +2,11 @@ package ch.usi.dag.disl.staticinfo.analysis;
public interface Analysis {
// It isn't mandatory (but it's good practice) to implement this interface
// It is mandatory to implement this interface
// NOTE: all analysis classes should follow convention:
// a) method returns the desired value as the method return value
// (not by using modified argument)
public void setStaticAnalysisInfo(AnalysisInfo ai);
// NOTE: all analysis methods should follow convention:
// a) analysis methods does not have parameters
// b) return value can be only basic type (+String)
// c) method gets only one parameter -> AnalysisInfo
// d) methods should be static
// e) all classes should share the prefix of the package with this interface
// f) javadoc should explain, that the parameter passed by user should be
// null (because it will be invoked by DiSL with proper parameter)
// h) consistency - method called on same data should return same result
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment