Marker interface pattern: Difference between revisions

Content deleted Content added
Line 10:
 
A better solution is for the language to support metadata directly. The [[.NET Framework|.NET framework]] supports attributes that can be used to associate any type of data with a class or with its members. Java, as of Java 5 (1.5), also provides annotations on classes, methods, and member variables, that may be accessed from an instance using reflection.
 
Modified by AB
 
== See also ==