CodeGym /Courses /Java Collections /Tasks | Level 8 | Lesson 10

Tasks | Level 8 | Lesson 10

Java Collections
Level 8 , Lesson 10
Available
10
Task
Java Collections, level 8, lesson 10
Locked
Annotation + reflection
Analyze the code and fix the error. Focus on the expected output. Make as few changes as possible.
18
Task
Java Collections, level 8, lesson 10
Locked
Implement annotations
The project must compile and display the Solution class's annotation. Don't change the Solution class or its annotation. The Changelog annotation must be visible at runtime.
10
Task
Java Collections, level 8, lesson 10
Locked
Tickets
Implement a Ticket annotation in a separate file. It has the following requirements: 1) It must be public and accessible at runtime. 2) It can only be applied to new data types (class, interface [including annotations], or enum declarations).
10
Task
Java Collections, level 8, lesson 10
Locked
Processing annotations
Implement the simplest possible annotation processor in the Solution class. A class is passed to the printFullyQualifiedNames and printValues methods. If this class is annotated with PrepareMyTest, you need to use the appropriate methods to display the fully qualified names and values.
Comments (4)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
MaGaby2280 Level 41, Guatemala City, Guatemala
17 July 2021
Interesting tasks...
Denys Level 41, Ukraine
17 April 2021
Delete an import and the annotation that is not found in the task "Processing annotations". Make default position Position.OTHER in the task "Implement annotations"
matemate123 Level 50, Kraków, Poland
15 November 2023
Or search for powermock.core in project structure -> libraries -> maven and add it to project.
Senned Level 41, Azov, Russia
8 January 2020
Deafult values for "Implement annotations" must be "" and {} otherwise validator "say No".