-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
TODO
- Create a dynamic factory able to generate the list of the
type.symbolavailable for each scanner based on the YAML mapping file instead of using a hard coded mapping:Lines 64 to 66 in cb8e34d
return (fileType.contains("java") && symbol.contains("class")) || (fileType.contains("java") && symbol.contains("package")); } - Review the order of the YAML mapping file (DEPRECATED). This file don't longer exist !
// Now
java:
annotation:
scanner: openrewrite
dto: dev.snowdrop.model.JavaAnnotationDTO
description: "OpenRewrite scanner for Java annotations"
class:
scanner: jdtls
dto: dev.snowdrop.model.JavaClassDTO
description: "JDTLS scanner for Java class analysis"
...
// Change
jdtls:
java:
annotation:
dto: dev.snowdrop.model.JavaAnnotationDTO
description: "OpenRewrite scanner for Java annotations"
class:
dto: dev.snowdrop.model.JavaClassDTO
description: "JDTLS scanner for Java class analysis"
...
Metadata
Metadata
Assignees
Labels
No labels