com.almondtools.testrecorder.profile.ExcludeStatic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testrecorder Show documentation
Show all versions of testrecorder Show documentation
Recording test data from running program.
package com.almondtools.testrecorder.profile;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.function.Predicate;
public class ExcludeStatic implements Predicate {
@Override
public boolean test(Field field) {
return (field.getModifiers() & Modifier.STATIC) == Modifier.STATIC;
}
}