Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Metadata is stored in .class files, as well as in dll assemblies. They can be obtained using reflection.
For example:
Class className = Person.class;
Annotation[] annotations = className.getAnnotations();
PS - Java uses annotations to bind metadata, while C# uses attributes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question