diff options
author | zaaarf <me@zaaarf.foo> | 2024-01-24 16:33:26 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2024-01-24 16:33:26 +0100 |
commit | 304d2a9ad6d9c65b5dc7e101a6e1e40911ebcaea (patch) | |
tree | 4cce22beb54bdd1814087dddd8b0614ef947ce53 | |
parent | 324d7e24e5f02f0328a2ab35501238aea5674755 (diff) |
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | settings.gradle | 2 | ||||
-rw-r--r-- | src/main/java/foo/zaaarf/routecartographer/Route.java (renamed from src/main/java/foo/zaaarf/routecompass/Route.java) | 2 | ||||
-rw-r--r-- | src/main/java/foo/zaaarf/routecartographer/RouteCartographer.java (renamed from src/main/java/foo/zaaarf/routecompass/RouteCompass.java) | 6 | ||||
-rw-r--r-- | src/main/resources/META-INF/gradle/incremental.annotation.processors | 2 | ||||
-rw-r--r-- | src/main/resources/META-INF/services/javax.annotation.processing.Processor | 2 |
6 files changed, 8 insertions, 8 deletions
@@ -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 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 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 |