com.epam.jdi.uitests.win.winnium.driver.FillFromAnnotationRules Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdi-uitest-win Show documentation
Show all versions of jdi-uitest-win Show documentation
Epam UI Automation framework package for Windows
The newest version!
package com.epam.jdi.uitests.win.winnium.driver;
import java.lang.reflect.Field;
import static com.epam.commons.ReflectionUtils.isInterface;
/**
* Created by 12345 on 17.05.2016.
*/
public class FillFromAnnotationRules {
public static boolean fieldHasAnnotation(Field field, Class annotationClass, Class interfaceClass) {
return isInterface(field, interfaceClass) && field.isAnnotationPresent(annotationClass);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy