Processing’s IDE (PDE) recognizes both “.pde” & “.java” extension files inside a project folder.
Here are 2 Processing examples w/ both “.pde” & “.java” files in them: