Skip to content

Commit 086bfd7

Browse files
committed
Javadoc adds
1 parent 4cd512d commit 086bfd7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/main/java/tools/jackson/databind/BeanDescription.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ public AnnotatedMember findJsonKeyAccessor() {
305305

306306

307307
/**
308-
* Base implementation for lazily-constructed suppliers for {@link BeanDescription} instances.
308+
* Interface for lazily-constructed suppliers for {@link BeanDescription} instances;
309+
* extends plain {@link java.util.function.Supplier} with convenience accessors.
309310
*/
310311
public interface Supplier extends java.util.function.Supplier<BeanDescription>
311312
{
@@ -327,6 +328,9 @@ default Annotations getClassAnnotations() {
327328
public BeanDescription get();
328329
}
329330

331+
/**
332+
* Partial implementation for lazily-constructed suppliers for {@link BeanDescription} instances.
333+
*/
330334
public static abstract class LazySupplier implements Supplier
331335
{
332336
protected final JavaType _type;
@@ -357,6 +361,10 @@ public BeanDescription get() {
357361
protected abstract BeanDescription _construct(JavaType forType);
358362
}
359363

364+
/**
365+
* Simple {@link Supplier} implementation that just returns pre-constructed
366+
* {@link BeanDescription} instance.
367+
*/
360368
public static class EagerSupplier implements Supplier
361369
{
362370
protected final BeanDescription _beanDesc;

0 commit comments

Comments
 (0)