package domain.relationrules.is_not_allowed_to_use; import technology.relationrules.allowed.SocialNetwork; public class Access_2 { private SocialNetwork socialnetwork; public Access_2(){ System.out.println(socialnetwork.type); } }