10
งาน
Java Collections, ระดับ, บทเรียน
Annotation + reflection
Analyze the code and fix the error.
Focus on the expected output.
Make as few changes as possible.
18
งาน
Java Collections, ระดับ, บทเรียน
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
งาน
Java Collections, ระดับ, บทเรียน
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
งาน
Java Collections, ระดับ, บทเรียน
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.