Support us on Patreon: / geekific
Discord Community: / discord
GitHub Repository: github.com/geekific-official/
The source-level annotation processing first appeared in Java 5. It is a technique that allow us to add additional source files to our project during the compilation stage. The files generated don’t have to be Java files, rather any kind of description, metadata, documentation, resource, or any other type of file can be added based on the annotations in our source code. In this video, we make use of annotation processing to generate our own Java class.
Timestamps:
00:00 Introduction
00:55 Set-Up needed Annotations
01:43 Create the Processor
05:10 Generate the Java Class
06:22 Compile and Test the Code!
07:30 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- Object-Oriented Programming Fundamentals: • What is Object-Oriente...
- SOLID Principles and Best Practices: • SOLID Design Principle...
- Recursion Made Simple, Recursive Methods: • What is Recursion? | R...
- Use-Case and Sequence Diagrams: • UML Use-Case and Seque...
- Generics and Wildcards in Java, Invariance vs Covariance vs Contravariance: • Generics and Wildcards...
- Reading from and Writing to a file in Java, Transient Java Keyword: • Java NIO | Reading fro...
- What is a Thread? (Process, Program, Parallelism, Scheduler Explained): • What is a Thread? | Th...
- Domain-Driven Design Made Simple: • Domain-Driven Design M...
- Operators Precedence in Java, Java Operators, Operators Associativity: • Operator Precedence in...
- Create your own Custom Java Annotation: • Create and Use Custom ...
#Geekific #AnnotationProcessing #Java #JavaAnnotations
Негізгі бет Annotation Processing in Java | Create a Custom Annotation Processor | Geekific
Пікірлер: 18