[Java]: Clarified contained types within composites for field naming and exception message.