// excluded in given targets
if (ex != null && Arrays.asList(ex.value()).contains(target)) {
return false;
}
// included only in given targets
IncludeIn in = method.getAnnotation(IncludeIn.class);
if (in == null) {
in = method.getDeclaringClass().getAnnotation(IncludeIn.class);
}
if (in != null && !Arrays.asList(in.value()).contains(target)) {
return false;
}
return true;
}