org.pure4j.exception.PureMethodOnNonImmutableClassException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pure4j-checker Show documentation
Show all versions of pure4j-checker Show documentation
Parses Byte-code to check the purity semantics defined using pure4j-core annotations
The newest version!
package org.pure4j.exception;
import org.pure4j.processor.PureChecklistHandler.PureMethod;
public class PureMethodOnNonImmutableClassException extends Pure4JException {
public PureMethodOnNonImmutableClassException(PureMethod pureMethod, Class> c) {
super("Non-static pure method on class which is not immutable: "+c+".\n"+
"- Try making the method 'static' \n"+pureMethod);
}
}