in Java, I want to know if there is a way to get the jdk version where a class have been added, I want a function that outputs "14" when I put in argument the RecordComponent class (java.lang.reflect.RecordComponent).
ArrayList outputs "7" etc
Is there a way to make something like this ?