What does referent mean in java language?
I came across this word while reading about phantom references in java but it was not explained there, just used (the word). And I could not find the answer by searching on Google either.
What I could conclude from context is that it is the object that a reference is pointing to, but not sure so I want to make sure what it is.
Edit: as suggested in comments I am adding a context where the word is being used:
The Garbage Collector adds a phantom reference to a reference queue after the finalize method of its referent is executed. It implies that the instance is still in the memory.
Assuming you're referring to the javadoc of
PhantomReference, the word is explained in the documented methods: