This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new 489dd08627 org.apache.juneau.common.reflect API improvements
489dd08627 is described below
commit 489dd086274d0ac82035271fbc0c3bf03e2ea83e
Author: James Bognar <[email protected]>
AuthorDate: Mon Nov 24 07:52:02 2025 -0500
org.apache.juneau.common.reflect API improvements
---
.../{TargetedAnnotationImpl.java => AppliedAnnotationObject.java} | 4 ++--
.../apache/juneau/common/annotation/TargetedAnnotationBuilder.java | 2 +-
.../org/apache/juneau/common/annotation/TargetedAnnotationTImpl.java | 2 +-
.../src/main/java/org/apache/juneau/annotation/BeancAnnotation.java | 2 +-
.../src/main/java/org/apache/juneau/annotation/BeanpAnnotation.java | 2 +-
.../java/org/apache/juneau/annotation/NamePropertyAnnotation.java | 2 +-
.../java/org/apache/juneau/annotation/ParentPropertyAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestDeleteAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestDestroyAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestEndCallAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestGetAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestInitAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestInjectAnnotation.java | 2 +-
.../main/java/org/apache/juneau/rest/annotation/RestOpAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestOptionsAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestPatchAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestPostAnnotation.java | 2 +-
.../org/apache/juneau/rest/annotation/RestPostCallAnnotation.java | 2 +-
.../org/apache/juneau/rest/annotation/RestPostInitAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestPreCallAnnotation.java | 2 +-
.../java/org/apache/juneau/rest/annotation/RestPutAnnotation.java | 2 +-
.../org/apache/juneau/rest/annotation/RestStartCallAnnotation.java | 2 +-
22 files changed, 23 insertions(+), 23 deletions(-)
diff --git
a/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationImpl.java
b/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/AppliedAnnotationObject.java
similarity index 91%
rename from
juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationImpl.java
rename to
juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/AppliedAnnotationObject.java
index 6922bac746..337716dcdf 100644
---
a/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationImpl.java
+++
b/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/AppliedAnnotationObject.java
@@ -22,7 +22,7 @@ import static
org.apache.juneau.common.utils.CollectionUtils.*;
* An implementation of an annotation that has an <code>on</code> value
targeting classes/methods/fields/constructors.
*
*/
-public class TargetedAnnotationImpl extends AnnotationObject {
+public class AppliedAnnotationObject extends AnnotationObject {
private final String[] on;
@@ -31,7 +31,7 @@ public class TargetedAnnotationImpl extends AnnotationObject {
*
* @param b The builder used to instantiate the fields of this class.
*/
- public TargetedAnnotationImpl(TargetedAnnotationBuilder<?> b) {
+ public AppliedAnnotationObject(TargetedAnnotationBuilder<?> b) {
super(b);
this.on = copyOf(b.on);
}
diff --git
a/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationBuilder.java
b/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationBuilder.java
index 136f4dde7f..df386620e7 100644
---
a/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationBuilder.java
+++
b/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationBuilder.java
@@ -21,7 +21,7 @@ import static
org.apache.juneau.common.utils.CollectionUtils.*;
import java.lang.annotation.*;
/**
- * Builder for {@link TargetedAnnotationImpl} objects.
+ * Builder for {@link AppliedAnnotationObject} objects.
*
*
* @param <B> The actual builder class.
diff --git
a/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationTImpl.java
b/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationTImpl.java
index cf1f6c1f15..6b5ef5d83a 100644
---
a/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationTImpl.java
+++
b/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/annotation/TargetedAnnotationTImpl.java
@@ -22,7 +22,7 @@ import static
org.apache.juneau.common.utils.CollectionUtils.*;
* An implementation of an annotation that has an <code>on</code> value
targeting classes/methods/fields/constructors.
*
*/
-public class TargetedAnnotationTImpl extends TargetedAnnotationImpl {
+public class TargetedAnnotationTImpl extends AppliedAnnotationObject {
private final Class<?>[] onClass;
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/BeancAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/BeancAnnotation.java
index 63fd837072..4e49127a6a 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/BeancAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/BeancAnnotation.java
@@ -112,7 +112,7 @@ public class BeancAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
Beanc {
+ private static class Impl extends AppliedAnnotationObject implements
Beanc {
private String properties = "";
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/BeanpAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/BeanpAnnotation.java
index e33e127d6e..b2f1524f95 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/BeanpAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/BeanpAnnotation.java
@@ -202,7 +202,7 @@ public class BeanpAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
Beanp {
+ private static class Impl extends AppliedAnnotationObject implements
Beanp {
private final Class<?> type;
private final Class<?>[] params, dictionary;
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/NamePropertyAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/NamePropertyAnnotation.java
index 4d43b211d5..2453298bb8 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/NamePropertyAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/NamePropertyAnnotation.java
@@ -99,7 +99,7 @@ public class NamePropertyAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
NameProperty {
+ private static class Impl extends AppliedAnnotationObject implements
NameProperty {
Impl(NamePropertyAnnotation.Builder b) {
super(b);
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ParentPropertyAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ParentPropertyAnnotation.java
index 1ad6f9e4ca..378d2bca48 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ParentPropertyAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ParentPropertyAnnotation.java
@@ -99,7 +99,7 @@ public class ParentPropertyAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
ParentProperty {
+ private static class Impl extends AppliedAnnotationObject implements
ParentProperty {
Impl(ParentPropertyAnnotation.Builder b) {
super(b);
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestDeleteAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestDeleteAnnotation.java
index 41b7c60360..a73f929c4a 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestDeleteAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestDeleteAnnotation.java
@@ -304,7 +304,7 @@ public class RestDeleteAnnotation {
}
}
- private static class Impl extends TargetedAnnotationImpl implements
RestDelete {
+ private static class Impl extends AppliedAnnotationObject implements
RestDelete {
private final Class<? extends RestGuard>[] guards;
private final Class<? extends RestMatcher>[] matchers;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestDestroyAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestDestroyAnnotation.java
index ae16f7811d..671407a738 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestDestroyAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestDestroyAnnotation.java
@@ -76,7 +76,7 @@ public class RestDestroyAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
RestDestroy {
+ private static class Impl extends AppliedAnnotationObject implements
RestDestroy {
Impl(RestDestroyAnnotation.Builder b) {
super(b);
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestEndCallAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestEndCallAnnotation.java
index 2621a3fc31..9c525128fa 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestEndCallAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestEndCallAnnotation.java
@@ -76,7 +76,7 @@ public class RestEndCallAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
RestEndCall {
+ private static class Impl extends AppliedAnnotationObject implements
RestEndCall {
Impl(RestEndCallAnnotation.Builder b) {
super(b);
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestGetAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestGetAnnotation.java
index 57edb8221c..a44d9adcd7 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestGetAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestGetAnnotation.java
@@ -346,7 +346,7 @@ public class RestGetAnnotation {
}
}
- private static class Impl extends TargetedAnnotationImpl implements
RestGet {
+ private static class Impl extends AppliedAnnotationObject implements
RestGet {
private final Class<? extends RestConverter>[] converters;
private final Class<? extends RestGuard>[] guards;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestInitAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestInitAnnotation.java
index 873a49790e..917276a2be 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestInitAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestInitAnnotation.java
@@ -76,7 +76,7 @@ public class RestInitAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
RestInit {
+ private static class Impl extends AppliedAnnotationObject implements
RestInit {
Impl(RestInitAnnotation.Builder b) {
super(b);
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestInjectAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestInjectAnnotation.java
index 997c0f5d61..9c2c99e723 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestInjectAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestInjectAnnotation.java
@@ -109,7 +109,7 @@ public class RestInjectAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
RestInject {
+ private static class Impl extends AppliedAnnotationObject implements
RestInject {
private final String name, value;
private final String[] methodScope;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestOpAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestOpAnnotation.java
index bdbdf2a8f2..4e8386e62e 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestOpAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestOpAnnotation.java
@@ -433,7 +433,7 @@ public class RestOpAnnotation {
}
}
- private static class Impl extends TargetedAnnotationImpl implements
RestOp {
+ private static class Impl extends AppliedAnnotationObject implements
RestOp {
private final Class<? extends RestConverter>[] converters;
private final Class<? extends RestGuard>[] guards;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestOptionsAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestOptionsAnnotation.java
index e3ce2d673f..4aec2babbe 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestOptionsAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestOptionsAnnotation.java
@@ -346,7 +346,7 @@ public class RestOptionsAnnotation {
}
}
- private static class Impl extends TargetedAnnotationImpl implements
RestOptions {
+ private static class Impl extends AppliedAnnotationObject implements
RestOptions {
private final Class<? extends RestConverter>[] converters;
private final Class<? extends RestGuard>[] guards;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPatchAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPatchAnnotation.java
index 0dba17aef0..6afc656450 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPatchAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPatchAnnotation.java
@@ -408,7 +408,7 @@ public class RestPatchAnnotation {
}
}
- private static class Impl extends TargetedAnnotationImpl implements
RestPatch {
+ private static class Impl extends AppliedAnnotationObject implements
RestPatch {
private final Class<? extends RestConverter>[] converters;
private final Class<? extends RestGuard>[] guards;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostAnnotation.java
index 99fa8e714c..dae0e31873 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostAnnotation.java
@@ -408,7 +408,7 @@ public class RestPostAnnotation {
}
}
- private static class Impl extends TargetedAnnotationImpl implements
RestPost {
+ private static class Impl extends AppliedAnnotationObject implements
RestPost {
private final Class<? extends RestConverter>[] converters;
private final Class<? extends RestGuard>[] guards;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostCallAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostCallAnnotation.java
index 2af4e9fcb3..de1f6384de 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostCallAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostCallAnnotation.java
@@ -76,7 +76,7 @@ public class RestPostCallAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
RestPostCall {
+ private static class Impl extends AppliedAnnotationObject implements
RestPostCall {
Impl(RestPostCallAnnotation.Builder b) {
super(b);
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostInitAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostInitAnnotation.java
index b2013cea6d..2c799cc947 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostInitAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPostInitAnnotation.java
@@ -88,7 +88,7 @@ public class RestPostInitAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
RestPostInit {
+ private static class Impl extends AppliedAnnotationObject implements
RestPostInit {
private final boolean childFirst;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPreCallAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPreCallAnnotation.java
index 792c36ce0e..63c4a0e948 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPreCallAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPreCallAnnotation.java
@@ -76,7 +76,7 @@ public class RestPreCallAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
RestPreCall {
+ private static class Impl extends AppliedAnnotationObject implements
RestPreCall {
Impl(RestPreCallAnnotation.Builder b) {
super(b);
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPutAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPutAnnotation.java
index aa7ad0fff0..29bc1e184e 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPutAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestPutAnnotation.java
@@ -408,7 +408,7 @@ public class RestPutAnnotation {
}
}
- private static class Impl extends TargetedAnnotationImpl implements
RestPut {
+ private static class Impl extends AppliedAnnotationObject implements
RestPut {
private final Class<? extends RestConverter>[] converters;
private final Class<? extends RestGuard>[] guards;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestStartCallAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestStartCallAnnotation.java
index 8833da9e80..f9884753e2 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestStartCallAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestStartCallAnnotation.java
@@ -76,7 +76,7 @@ public class RestStartCallAnnotation {
}
- private static class Impl extends TargetedAnnotationImpl implements
RestStartCall {
+ private static class Impl extends AppliedAnnotationObject implements
RestStartCall {
Impl(RestStartCallAnnotation.Builder b) {
super(b);