Annotation processor and physical mapping

Annotation processor and physical mapping

Annotation Processor

If you do not read the annotation tool to analyze the role that comment will be greatly reduced. Application Note the important part is to write notes and processor usage. Extended API JDK5 made a reflex mechanism that can help programmers to effectively create such tools, it provides an external tool apt, for analysis to help the program notes.

 

Sample code: class interface information extraction

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 Entity Mapping and Translation

Example: to convert into a class database table

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  

Old nine school community members produced

Guess you like

Origin www.cnblogs.com/ljxt/p/11609076.html