private static boolean isAnnotation(Dependency dependency) {
   return type(dependency.getTarget()).isAnnotation();
 }
 private static boolean self(Dependency dependency) {
   return dependency.getOrigin().getPackageName().equals(dependency.getTarget().getPackageName());
 }