This challenge solution supports all four types of traces using the following visitors from Javaparser.
- Class: ClassOrInterfaceDeclaration, EnumDeclaration, AnnotationDeclaration
- Class refinement: ImportDeclaration, FieldDeclaration, EnumConstantDeclaration
- Method: MethodDeclaration, ConstructorDeclaration
- Method refinement: InstanceOfExpr, ClassExpr, ObjectCreationExpr, MethodCallExpr, BinaryExpr