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 1e4593333b org.apache.juneau.common.reflect API improvements
1e4593333b is described below
commit 1e4593333b48ebeb22fdaf4925b935f8761cf121
Author: James Bognar <[email protected]>
AuthorDate: Mon Nov 24 09:11:34 2025 -0500
org.apache.juneau.common.reflect API improvements
---
.../java/org/apache/juneau/annotation/ExternalDocsAnnotation.java | 6 +++---
.../main/java/org/apache/juneau/annotation/ItemsAnnotation.java | 6 +++---
.../java/org/apache/juneau/annotation/SubItemsAnnotation.java | 6 +++---
.../java/org/apache/juneau/http/annotation/ContactAnnotation.java | 6 +++---
.../org/apache/juneau/http/annotation/HasFormDataAnnotation.java | 6 +++---
.../org/apache/juneau/http/annotation/HasQueryAnnotation.java | 6 +++---
.../java/org/apache/juneau/http/annotation/LicenseAnnotation.java | 6 +++---
.../java/org/apache/juneau/http/annotation/TagAnnotation.java | 6 +++---
.../org/apache/juneau/rest/annotation/OpSwaggerAnnotation.java | 6 +++---
.../java/org/apache/juneau/rest/annotation/RestAnnotation.java | 8 ++++----
.../java/org/apache/juneau/rest/annotation/SwaggerAnnotation.java | 6 +++---
11 files changed, 34 insertions(+), 34 deletions(-)
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ExternalDocsAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ExternalDocsAnnotation.java
index 9011d698c0..9895e75706 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ExternalDocsAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ExternalDocsAnnotation.java
@@ -58,7 +58,7 @@ public class ExternalDocsAnnotation {
* @return A new {@link ExternalDocs @ExternalDocs} object.
*/
public ExternalDocs build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -85,12 +85,12 @@ public class ExternalDocsAnnotation {
}
- private static class Impl extends AnnotationObject implements
ExternalDocs {
+ private static class Object extends AnnotationObject implements
ExternalDocs {
private final String[] description;
private final String url;
- Impl(ExternalDocsAnnotation.Builder b) {
+ Object(ExternalDocsAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.url = b.url;
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ItemsAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ItemsAnnotation.java
index ad9929206a..c9f2a67bd6 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ItemsAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/ItemsAnnotation.java
@@ -89,7 +89,7 @@ public class ItemsAnnotation {
* @return A new {@link Items @Items} object.
*/
public Items build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -446,7 +446,7 @@ public class ItemsAnnotation {
}
- private static class Impl extends AnnotationObject implements Items {
+ private static class Object extends AnnotationObject implements Items {
private final String[] description;
private final boolean emax, emin, exclusiveMaximum,
exclusiveMinimum, ui, uniqueItems;
@@ -455,7 +455,7 @@ public class ItemsAnnotation {
private final String[] _default, _enum, df, e;
private final SubItems items;
- Impl(ItemsAnnotation.Builder b) {
+ Object(ItemsAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.$ref = b.$ref;
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/SubItemsAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/SubItemsAnnotation.java
index bc4a6918e7..87765597e2 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/SubItemsAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/annotation/SubItemsAnnotation.java
@@ -94,7 +94,7 @@ public class SubItemsAnnotation {
* @return A new {@link SubItems @SubItems} object.
*/
public SubItems build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -451,7 +451,7 @@ public class SubItemsAnnotation {
}
- private static class Impl extends AnnotationObject implements SubItems {
+ private static class Object extends AnnotationObject implements
SubItems {
private final String[] description;
private final boolean emax, emin, exclusiveMaximum,
exclusiveMinimum, ui, uniqueItems;
@@ -459,7 +459,7 @@ public class SubItemsAnnotation {
private final String $ref, cf, collectionFormat, f, format,
max, maximum, min, minimum, mo, multipleOf, p, pattern, t, type;
private final String[] _default, _enum, df, e, items;
- Impl(SubItemsAnnotation.Builder b) {
+ Object(SubItemsAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.$ref = b.$ref;
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/ContactAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/ContactAnnotation.java
index 80ec9101d0..fd10a02384 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/ContactAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/ContactAnnotation.java
@@ -52,7 +52,7 @@ public class ContactAnnotation {
* @return A new {@link Contact @Contact} object.
*/
public Contact build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -101,12 +101,12 @@ public class ContactAnnotation {
}
- private static class Impl extends AnnotationObject implements Contact {
+ private static class Object extends AnnotationObject implements Contact
{
private final String[] description;
private final String email, name, url;
- Impl(ContactAnnotation.Builder b) {
+ Object(ContactAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.email = b.email;
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/HasFormDataAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/HasFormDataAnnotation.java
index 6ee4f205a2..2eecf3771a 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/HasFormDataAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/HasFormDataAnnotation.java
@@ -52,7 +52,7 @@ public class HasFormDataAnnotation {
* @return A new {@link HasFormData @HasFormData} object.
*/
public HasFormData build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -90,12 +90,12 @@ public class HasFormDataAnnotation {
}
- private static class Impl extends AnnotationObject implements
HasFormData {
+ private static class Object extends AnnotationObject implements
HasFormData {
private final String[] description;
private final String name, value;
- Impl(HasFormDataAnnotation.Builder b) {
+ Object(HasFormDataAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.name = b.name;
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/HasQueryAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/HasQueryAnnotation.java
index af337a69d6..d85fd9c792 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/HasQueryAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/HasQueryAnnotation.java
@@ -52,7 +52,7 @@ public class HasQueryAnnotation {
* @return A new {@link HasQuery @HasQuery} object.
*/
public HasQuery build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -90,12 +90,12 @@ public class HasQueryAnnotation {
}
- private static class Impl extends AnnotationObject implements HasQuery {
+ private static class Object extends AnnotationObject implements
HasQuery {
private final String[] description;
private final String name, value;
- Impl(HasQueryAnnotation.Builder b) {
+ Object(HasQueryAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.name = b.name;
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/LicenseAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/LicenseAnnotation.java
index 7aff727c4a..1472456a97 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/LicenseAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/LicenseAnnotation.java
@@ -52,7 +52,7 @@ public class LicenseAnnotation {
* @return A new {@link License @License} object.
*/
public License build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -90,12 +90,12 @@ public class LicenseAnnotation {
}
- private static class Impl extends AnnotationObject implements License {
+ private static class Object extends AnnotationObject implements License
{
private final String[] description;
private final String name, url;
- Impl(LicenseAnnotation.Builder b) {
+ Object(LicenseAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.name = b.name;
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/TagAnnotation.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/TagAnnotation.java
index ff8b863c2b..3bed24c37f 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/TagAnnotation.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/http/annotation/TagAnnotation.java
@@ -54,7 +54,7 @@ public class TagAnnotation {
* @return A new {@link Tag @Tag} object.
*/
public Tag build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -92,13 +92,13 @@ public class TagAnnotation {
}
- private static class Impl extends AnnotationObject implements Tag {
+ private static class Object extends AnnotationObject implements Tag {
private final String[] description;
private final ExternalDocs externalDocs;
private final String name;
- Impl(TagAnnotation.Builder b) {
+ Object(TagAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.externalDocs = b.externalDocs;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/OpSwaggerAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/OpSwaggerAnnotation.java
index f36f22b16c..6e581d1cdd 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/OpSwaggerAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/OpSwaggerAnnotation.java
@@ -60,7 +60,7 @@ public class OpSwaggerAnnotation {
* @return A new {@link OpSwagger @OpSwagger} object.
*/
public OpSwagger build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -197,14 +197,14 @@ public class OpSwaggerAnnotation {
}
- private static class Impl extends AnnotationObject implements OpSwagger
{
+ private static class Object extends AnnotationObject implements
OpSwagger {
private final String[] description;
private final ExternalDocs externalDocs;
private final String deprecated, operationId;
private final String[] consumes, parameters, produces,
responses, schemes, summary, tags, value;
- Impl(OpSwaggerAnnotation.Builder b) {
+ Object(OpSwaggerAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.consumes = copyOf(b.consumes);
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestAnnotation.java
index 6afbeb52b1..93630369f8 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/RestAnnotation.java
@@ -144,7 +144,7 @@ public class RestAnnotation {
* @return A new {@link Rest @Rest} object.
*/
public Rest build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -658,7 +658,7 @@ public class RestAnnotation {
string(a.defaultAccept()).map(HttpHeaders::accept).ifPresent(x ->
b.defaultRequestHeaders(x));
string(a.defaultContentType()).map(HttpHeaders::contentType).ifPresent(x ->
b.defaultRequestHeaders(x));
b.responseProcessors().add(a.responseProcessors());
- b.children((Object[])a.children());
+ b.children((java.lang.Object[])a.children());
b.restOpArgs(a.restOpArgs());
classes(a.encoders()).ifPresent(x ->
b.encoders().add(x));
string(a.uriContext()).ifPresent(x -> b.uriContext(x));
@@ -711,7 +711,7 @@ public class RestAnnotation {
}
}
- private static class Impl extends AppliedOnClassAnnotationObject
implements Rest {
+ private static class Object extends AppliedOnClassAnnotationObject
implements Rest {
private final String[] description;
private final Class<? extends Encoder>[] encoders;
@@ -739,7 +739,7 @@ public class RestAnnotation {
private final Path[] pathParams;
private final FormData[] formDataParams;
- Impl(RestAnnotation.Builder b) {
+ Object(RestAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.disableContentParam = b.disableContentParam;
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/SwaggerAnnotation.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/SwaggerAnnotation.java
index 17749c8579..c0f6145a4b 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/SwaggerAnnotation.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/SwaggerAnnotation.java
@@ -62,7 +62,7 @@ public class SwaggerAnnotation {
* @return A new {@link Swagger @Swagger} object.
*/
public Swagger build() {
- return new Impl(this);
+ return new Object(this);
}
/**
@@ -166,7 +166,7 @@ public class SwaggerAnnotation {
}
- private static class Impl extends AnnotationObject implements Swagger {
+ private static class Object extends AnnotationObject implements Swagger
{
private final String[] description;
private final Contact contact;
@@ -176,7 +176,7 @@ public class SwaggerAnnotation {
private final String[] termsOfService, title, value;
private final Tag[] tags;
- Impl(SwaggerAnnotation.Builder b) {
+ Object(SwaggerAnnotation.Builder b) {
super(b);
this.description = copyOf(b.description);
this.contact = b.contact;