static boolean isInjectable(ClassFile cf, Log log) {
log.debug("Analyzing " + cf.getName());
try {
AttributeInfo classAttribute = cf.getAttribute(AnnotationsAttribute.visibleTag);
if (classAttribute != null) {
if (findAnnotation(cf, log, classAttribute, "com.avast.syringe.config.ConfigBean")) return true;
}
List<FieldInfo> fields = cf.getFields();
for (FieldInfo field : fields) {
AttributeInfo fieldAttribute = field.getAttribute(AnnotationsAttribute.visibleTag);
if (fieldAttribute != null) {
if (findAnnotation(cf, log, fieldAttribute, "com.avast.syringe.config.ConfigProperty")) return true;
}
}