### Question:
IncludeAnnotations { static boolean include(String annotationType) { if (annotationType.startsWith("lombok.")) { return false; } return !EXCLUDED_ANNOTATIONS.contains(annotationType); }    }### Answer:
@Test public void exclude_di_annotations() { assertFalse(include("javax.annotation.Generated")); assertFalse(include(Singleton.class.getName())); assertFalse(include(Named.class.getName())); assertFalse(include(Factory.class.getName())); assertFalse(include(Primary.class.getName())); assertFalse(include(Secondary.class.getName())); assertFalse(include(Constants.PATH)); }
@Test public void include_other_annotations() { assertTrue(include("foo.Bar")); assertTrue(include("bar.Foo")); }
@Test public void exclude_lombok() { assertFalse(include("lombok.Data")); assertFalse(include("lombok.Getter")); }
@Test public void exclude_kotlinMetaData() { assertFalse(include(Constants.KOTLIN_METADATA)); }