well yes, AFAIK these are ppi spin-offs and Gabor's approach for padre.
But if the OP is only talking about self-written classes and compares to java he might be happy about a robust attributeš based solution instead of relying on ppi's "guessing what the author meant".