Continuing the discussion from Rename "component" to "class" in the Lucee dialect:
I wonder if there’s anything else “component”-ish we need to consider there? Giving it only a moment or so’s thought (and not very directed thought), nowt springs to mind.
Is there no useful distinction to maintain between getting a class’s metadata and an object’s metadata? I can’t say I’m that au fait with the result of either of them, that said. Something to consider, I think. If the two were combined, would it be a case of having this sort of thing:
Metadata getMetadata(String className)
and
Metadata getMetadata(Object object)
Where there are two implementations of Metadata
: ClassMetadata
and ObjectMetadata
?
If so: good.
–
Adam