org.javers.groovysupport.GroovyAddOns Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javers-core Show documentation
Show all versions of javers-core Show documentation
JaVers - object auditing and diff framework for Java
package org.javers.groovysupport;
import org.javers.common.reflection.ReflectionUtil;
import org.javers.core.ConditionalTypesPlugin;
import org.javers.core.JaversBuilder;
/**
* @author bartosz.walacik
*/
public class GroovyAddOns extends ConditionalTypesPlugin {
@Override
public void beforeAssemble(JaversBuilder javersBuilder) {
Class metaClass = ReflectionUtil.classForName("groovy.lang.MetaClass");
javersBuilder.registerIgnoredClass(metaClass);
}
}