You dont specify where the @Raw annotation comes from, so I'll assume you mean the checker framework. From the docs:
This type qualifier belongs to the rawness type-system for tracking initialization. This type-system is not used on its own, but in conjunction with some other type-system that wants to ensure safe initialization. For instance, NullnessRawnessChecker uses rawness to track initialization of NonNull fields.
The functions in your code are valid and will work by themselves, too. Someone just wanted some safeguards to make sure the objects they are using are fully initialized.