I used to get recruiters messaging me on LinkedIn about my impressive Java experience, in spite of not mentioning Java on my profile. At the time, I was working for a company that used a lot of Java, but I was working on a .NET based product and hadn't touched Java since college.