JavaPoet: Automatic Java source code generation (Part 2)
Learn how to automatically generate .java source files! Every Java developer eventually asks themselves "How can I auto generate Java code?" Well, I'm going to show you how in this tutorial by using a wicked library called JavaPoet. This lightweight an easy to learn API is a perfect tool to have on reserve.
In this 2 part tutorial mini-series, I'll introduce you to the core concepts to JavaPoet like TypeSpec, MethodSpec, FieldSpec; their associate builders and to JavaFile to start off with. I'll demonstrate how to generate source code for a Class, constructor, methods, javadoc, code and logic withing a method using several techniques.
We'll also cover the format placeholder specifiers like $S, $T, $N and $L which take auto generating java sourc code to the next level. Did I mention JavaPoet understands Types!
Click on the link below to see the video ...
Title: JavaPoet: Automatic source code generation (Part 1)
video link: https://youtu.be/4xngC-uB6eM
Title: JavaPoet: Automatic Java source code generation (Part 2)
video link: https://youtu.be/NBFmI1PaZwc
Get the source code here ...
https://drive.google.com/file/d/0B_yu350sABsVcDVrSXNkUDlJTWc/view?usp=sharing
If you want to see my other tutorial which uses a Custom Maven Plugin (using JavaPoet) in a JavaFX application, click below ..
Title: JavaFX - Switching Scenes like the Boss (Part 2)!
video link: https://youtu.be/liBlofRb824
For those interested in learning more about JavaPoet (which performs the auto-generated code in the plugin),
click the link below ...
https://github.com/square/javapoet
Ask me A Question ...
mvpjava.email@gmail.com
Subscribe to MVP Java ...
https://www.youtube.com/channel/UCrgOYeQyZ_V62XDYKCfh8TQ/MVPJava/?sub_confirmation=1
Follow me ...
Google+ : http://bit.ly/1Jsnnfj
Facebook: https://www.facebook.com/mvpjava
Twitter : https://twitter.com/mvpjava
Видео JavaPoet: Automatic Java source code generation (Part 2) канала MVP Java
In this 2 part tutorial mini-series, I'll introduce you to the core concepts to JavaPoet like TypeSpec, MethodSpec, FieldSpec; their associate builders and to JavaFile to start off with. I'll demonstrate how to generate source code for a Class, constructor, methods, javadoc, code and logic withing a method using several techniques.
We'll also cover the format placeholder specifiers like $S, $T, $N and $L which take auto generating java sourc code to the next level. Did I mention JavaPoet understands Types!
Click on the link below to see the video ...
Title: JavaPoet: Automatic source code generation (Part 1)
video link: https://youtu.be/4xngC-uB6eM
Title: JavaPoet: Automatic Java source code generation (Part 2)
video link: https://youtu.be/NBFmI1PaZwc
Get the source code here ...
https://drive.google.com/file/d/0B_yu350sABsVcDVrSXNkUDlJTWc/view?usp=sharing
If you want to see my other tutorial which uses a Custom Maven Plugin (using JavaPoet) in a JavaFX application, click below ..
Title: JavaFX - Switching Scenes like the Boss (Part 2)!
video link: https://youtu.be/liBlofRb824
For those interested in learning more about JavaPoet (which performs the auto-generated code in the plugin),
click the link below ...
https://github.com/square/javapoet
Ask me A Question ...
mvpjava.email@gmail.com
Subscribe to MVP Java ...
https://www.youtube.com/channel/UCrgOYeQyZ_V62XDYKCfh8TQ/MVPJava/?sub_confirmation=1
Follow me ...
Google+ : http://bit.ly/1Jsnnfj
Facebook: https://www.facebook.com/mvpjava
Twitter : https://twitter.com/mvpjava
Видео JavaPoet: Automatic Java source code generation (Part 2) канала MVP Java
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Component vs @Service in Spring | An Actual Answer](https://i.ytimg.com/vi/_bImyniwpBQ/default.jpg)
![Java Continuous Integration with Shippable](https://i.ytimg.com/vi/bweZzlgBf8s/default.jpg)
![instanceof Java Keyword Tutorial | What's new?](https://i.ytimg.com/vi/1EDx2z0N7_c/default.jpg)
![Understanding the Concept of a Java Interface - Part 1](https://i.ytimg.com/vi/AgQeJTCVJI8/default.jpg)
![Java Artificial Intelligence | Testing Plugin](https://i.ytimg.com/vi/XhTz-yZwx-k/default.jpg)
![Java Optional, NullPointerException Killer? Part 2](https://i.ytimg.com/vi/3IzvmbOwCjg/default.jpg)
![JavaFX - Switching Scenes Like A Boss! (Part 2)](https://i.ytimg.com/vi/liBlofRb824/default.jpg)
![Java Interface Syntax - Part 3](https://i.ytimg.com/vi/kClL-SyaBhc/default.jpg)
![Spring Boot and JUnit 5](https://i.ytimg.com/vi/K60vyIHAUOQ/default.jpg)
![What is Spring Native? | Game Changer](https://i.ytimg.com/vi/exNczPzRbt8/default.jpg)
![What is a Java Record?](https://i.ytimg.com/vi/0yb80kTO2UQ/default.jpg)
![Spring Caching with Caffeine Cache](https://i.ytimg.com/vi/3McRajvmdlw/default.jpg)
![How to use a Provider with Google Guice (Part2)](https://i.ytimg.com/vi/BtGf42WB9wM/default.jpg)
![How I Got Docker Certified](https://i.ytimg.com/vi/FAwV8Cs8ve8/default.jpg)
![How to use a Provider with Google Guice (Part 1)](https://i.ytimg.com/vi/3uAR5sFgh2A/default.jpg)
![Maven Development: How to write a Custom Plugin](https://i.ytimg.com/vi/tM25OFSO__I/default.jpg)
![Deploy Spring Boot WAR to Tomcat Docker Container Linked to MongoDB](https://i.ytimg.com/vi/XojJV0A3cBw/default.jpg)
![Spring Boot Integration Testing](https://i.ytimg.com/vi/VeFr1CRFdC4/default.jpg)
![Injecting Single Interface Implementation with Google Guice](https://i.ytimg.com/vi/wNclLOTxQjk/default.jpg)
![JavaFX Multiple Controllers](https://i.ytimg.com/vi/osIRfgHTfyg/default.jpg)