Learn to use and create annotations in Java.
- [Narrator] I've used the @test annotation…several times so far during this course.…Annotations are a form of metadata…that provide information about a program.…This metadata is not part of the program itself.…Annotations have a number of uses.…Among them, provide information for a compiler,…support compile-time and deployment-time processing,…and support run-time processing.…The @test annotation is used to support run-time processing.…
It tells JUnit's processor which methods to treat…as test cases.…In the remainder of this video,…I'll show you how to write a custom annotation.…In the reflections chapter, I'll teach you how to use…a custom annotation at run time.…This annotation is contained in the annotations package…of your exercises file folder.…Note that when writing an annotation,…it uses the @interface keyword.…In this case, we're creating an annotation called UnTest,…and it has one parameter, a string,…and will call that message.…
Note that our annotation uses several other annotations.…The @retention annotation tells the Java compiler…
- The IMQAV model
- Downloading software
- Installing and setting up a Java coding environment
- Mock tests
- Code coverage
- Using windows, views, and modes in IntelliJ IDEA
- Creating classes and attributes
- Creating constructors
- Casting variables
- Matching literals with regular expressions
- Regular expressions
- Design patterns
Skill Level Intermediate
Java: Database Integration with JDBCwith David Gassner2h 51m Intermediate
NumPy Data Science Essential Trainingwith Charles Kelly3h 54m Intermediate
1. Getting Started with Java
2. Test-Driven Development
3. IntelliJ IDEA
4. Object-Oriented Java
6. Regular Expressions (Regex)
8. Design Patterns
9. Applying Data Science
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.