// Path: archunit/src/main/java/com/mscharhag/archunit/layers/repository/UserRepository.java
// public class UserRepository {
// 
//     private EntityManager entityManager;
// 
//     public User loadUser() {
//         return new User("John Doe");
//     }
// }
// 
// Path: archunit/src/main/java/com/mscharhag/archunit/layers/service/UserService.java
// public interface UserService {
//     User getUser();
// }
// 
// Path: archunit/src/main/java/com/mscharhag/archunit/model/User.java
// @Entity
// public class User {
// 
//     private String name;
// 
//     public User(String name) {
//         this.name = name;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// }


import com.mscharhag.archunit.layers.repository.UserRepository;
import com.mscharhag.archunit.layers.service.UserService;
import com.mscharhag.archunit.model.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
package com.mscharhag.archunit.layers.service.impl;


public class UserServiceImpl implements UserService {
    private static final Logger logger = LoggerFactory.getLogger(UserServiceImpl.class);

    private final UserRepository repository;

    public UserServiceImpl(UserRepository repository) {
        this.repository = repository;
    }

    public User getUser() {
        logger.debug("Getting user..");
// Path: archunit/src/main/java/com/mscharhag/archunit/layers/repository/UserRepository.java
// public class UserRepository {
// 
//     private EntityManager entityManager;
// 
//     public User loadUser() {
//         return new User("John Doe");
//     }
// }
// 
// Path: archunit/src/main/java/com/mscharhag/archunit/layers/service/UserService.java
// public interface UserService {
//     User getUser();
// }
// 
// Path: archunit/src/main/java/com/mscharhag/archunit/model/User.java
// @Entity
// public class User {
// 
//     private String name;
// 
//     public User(String name) {
//         this.name = name;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// }


// Path: archunit/src/main/java/com/mscharhag/archunit/layers/service/impl/UserServiceImpl.java
import com.mscharhag.archunit.layers.repository.UserRepository;
import com.mscharhag.archunit.layers.service.UserService;
import com.mscharhag.archunit.model.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

package com.mscharhag.archunit.layers.service.impl;


public class UserServiceImpl implements UserService {
    private static final Logger logger = LoggerFactory.getLogger(UserServiceImpl.class);

    private final UserRepository repository;

    public UserServiceImpl(UserRepository repository) {
        this.repository = repository;
    }

    public User getUser() {
        logger.debug("Getting user..");
        return repository.loadUser();