All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.pure4j.exception.PureMethodAccessesNonFinalFieldException Maven / Gradle / Ivy

Go to download

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);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy