org.pure4j.exception.PureMethodAccessesNonFinalFieldException 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.model.FieldHandle;
import org.pure4j.processor.PureChecklistHandler.PureMethod;
public class PureMethodAccessesNonFinalFieldException extends Pure4JException {
public PureMethodAccessesNonFinalFieldException(PureMethod pureMethod, FieldHandle fh) {
super("Pure implementation is expected to be pure but accesses non-final field " +fh+"\n"+pureMethod);
}
}