handle only java classes not others with different suffix