You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once you finish the work outlined in #86, you should take a bit of time to look at description. (If you want / have time on the bus, you could just read some of this code to start~)
Description is how we represent type information about different types. There are Class Descriptors, Field Descriptors, Enumeration Descriptors, and some other kinds~! (Those are the big three we always care about)
I wrote a test about MetaInformation (Annotations and the like) that covers Class/Enumeration/Field Descriptors. You should take a bit of time to get familiar with how all of this stuff works. I'd especially like it if you could add some better validation messages on my asserts on this test:
I figure you should spend about 30-45 minutes to an hour or two getting a basic feel for how these descriptions work, and how they're created.(If you need more time for a better understanding, that's fine too.) Draw diagrams / etc so you really know how construction of these descriptions works.
Understanding the mapping between classes and descriptions will become really useful later when we do more serialization related work!
Once you finish the work outlined in #86, you should take a bit of time to look at description. (If you want / have time on the bus, you could just read some of this code to start~)
Description is how we represent type information about different types. There are Class Descriptors, Field Descriptors, Enumeration Descriptors, and some other kinds~! (Those are the big three we always care about)
I wrote a test about MetaInformation (Annotations and the like) that covers Class/Enumeration/Field Descriptors. You should take a bit of time to get familiar with how all of this stuff works. I'd especially like it if you could add some better validation messages on my asserts on this test:
https://github.com/ecologylab/simplJava/blob/beiber/simplTests/test/simpl/descriptions/beiber/FieldsAndClassesObtainAllMetaInformation.java
I figure you should spend about 30-45 minutes to an hour or two getting a basic feel for how these descriptions work, and how they're created.(If you need more time for a better understanding, that's fine too.) Draw diagrams / etc so you really know how construction of these descriptions works.
Understanding the mapping between classes and descriptions will become really useful later when we do more serialization related work!
Classes of immediate interest:
https://github.com/ecologylab/simplJava/blob/beiber/simplCore/src/simpl/descriptions/EnumerationDescriptor.java
https://github.com/ecologylab/simplJava/blob/beiber/simplCore/src/simpl/descriptions/FieldDescriptors.java (Handles construction of FieldDescriptor objects)
https://github.com/ecologylab/simplJava/blob/beiber/simplCore/src/simpl/descriptions/FieldDescriptorImpl.java
https://github.com/ecologylab/simplJava/blob/beiber/simplCore/src/simpl/descriptions/ClassDescriptors.java (Handles construction of ClassDescriptor objects)
https://github.com/ecologylab/simplJava/blob/beiber/simplCore/src/simpl/descriptions/ClassDescriptorImpl.java
If you really want to dive deep, feel free to look at a sweet hack I do in the Annotation Parser to get metainfo ;) https://github.com/ecologylab/simplJava/blob/beiber/simplCore/src/simpl/descriptions/AnnotationParser.java
The text was updated successfully, but these errors were encountered: