From 304d2a9ad6d9c65b5dc7e101a6e1e40911ebcaea Mon Sep 17 00:00:00 2001 From: zaaarf Date: Wed, 24 Jan 2024 16:33:26 +0100 Subject: [PATCH] chore: rebrand --- README.md | 2 +- settings.gradle | 2 +- .../zaaarf/{routecompass => routecartographer}/Route.java | 2 +- .../RouteCartographer.java} | 6 +++--- .../META-INF/gradle/incremental.annotation.processors | 2 +- .../META-INF/services/javax.annotation.processing.Processor | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) rename src/main/java/foo/zaaarf/{routecompass => routecartographer}/Route.java (98%) rename src/main/java/foo/zaaarf/{routecompass/RouteCompass.java => routecartographer/RouteCartographer.java} (99%) diff --git a/README.md b/README.md index f5ca0e5..766c0d9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Route Compass +# Route Cartographer An annotation processor that reads Spring Web's annotations to write down a map of all the routes in your projects: their paths, parameters, methods... It's a small program I found myself needing at work. Don't count on it being production-ready. \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 4183671..dcb02ca 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,2 @@ -rootProject.name = 'route-compass' +rootProject.name = 'route-cartographer' diff --git a/src/main/java/foo/zaaarf/routecompass/Route.java b/src/main/java/foo/zaaarf/routecartographer/Route.java similarity index 98% rename from src/main/java/foo/zaaarf/routecompass/Route.java rename to src/main/java/foo/zaaarf/routecartographer/Route.java index b35bd31..650cc17 100644 --- a/src/main/java/foo/zaaarf/routecompass/Route.java +++ b/src/main/java/foo/zaaarf/routecartographer/Route.java @@ -1,4 +1,4 @@ -package foo.zaaarf.routecompass; +package foo.zaaarf.routecartographer; import org.springframework.web.bind.annotation.RequestMethod; diff --git a/src/main/java/foo/zaaarf/routecompass/RouteCompass.java b/src/main/java/foo/zaaarf/routecartographer/RouteCartographer.java similarity index 99% rename from src/main/java/foo/zaaarf/routecompass/RouteCompass.java rename to src/main/java/foo/zaaarf/routecartographer/RouteCartographer.java index 269dfb1..2b872be 100644 --- a/src/main/java/foo/zaaarf/routecompass/RouteCompass.java +++ b/src/main/java/foo/zaaarf/routecartographer/RouteCartographer.java @@ -1,4 +1,4 @@ -package foo.zaaarf.routecompass; +package foo.zaaarf.routecartographer; import org.springframework.http.RequestEntity; import org.springframework.http.ResponseEntity; @@ -27,7 +27,7 @@ import java.util.stream.Collectors; * The main processor class. */ @SupportedSourceVersion(SourceVersion.RELEASE_8) -public class RouteCompass extends AbstractProcessor { +public class RouteCartographer extends AbstractProcessor { /** * The filename of the output. @@ -47,7 +47,7 @@ public class RouteCompass extends AbstractProcessor { /** * Default constructor, it only initialises {@link #annotationClasses}. */ - public RouteCompass() { + public RouteCartographer() { this.annotationClasses.add(RequestMapping.class); this.annotationClasses.add(GetMapping.class); this.annotationClasses.add(PostMapping.class); diff --git a/src/main/resources/META-INF/gradle/incremental.annotation.processors b/src/main/resources/META-INF/gradle/incremental.annotation.processors index 6150d23..8902d20 100644 --- a/src/main/resources/META-INF/gradle/incremental.annotation.processors +++ b/src/main/resources/META-INF/gradle/incremental.annotation.processors @@ -1 +1 @@ -foo.zaaarf.routecompass.RouteCompass,isolating \ No newline at end of file +foo.zaaarf.routecartographer.RouteCartographer,isolating \ No newline at end of file diff --git a/src/main/resources/META-INF/services/javax.annotation.processing.Processor b/src/main/resources/META-INF/services/javax.annotation.processing.Processor index d91ebc4..16c34a1 100644 --- a/src/main/resources/META-INF/services/javax.annotation.processing.Processor +++ b/src/main/resources/META-INF/services/javax.annotation.processing.Processor @@ -1 +1 @@ -foo.zaaarf.routecompass.RouteCompass \ No newline at end of file +foo.zaaarf.routecartographer.RouteCartographer \ No newline at end of file