Javier is suffering from obsessive-compulsive disorder
Obsessive–compulsive disorder is a chronic mental illness in which an affected person repeatedly carryout specific routines or express certain behaviors (known as compulsions) and thoughts (known as obsessions) without control. Individuals with this disorder are unable to control certain thoughts and activities for a long period of time. They crave to repeat some activities over and over to the extent that their daily life is affected badly. From the information in the question above, it shows that Javier is suffering from obsessive-compulsive disorder.