Skip to content

Commit 73eca59

Browse files
committed
Minor Javadoc improvements
1 parent 14398a8 commit 73eca59

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/main/java/com/fasterxml/jackson/databind/jsontype/impl/MinimalClassNameIdResolver.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
1010
import com.fasterxml.jackson.databind.type.TypeFactory;
1111

12+
/**
13+
* Specialization of {@link ClassNameIdResolver} that instead uses a
14+
* "minimal" derivation of {@link Class} name, using relative reference
15+
* from the base type (base class) that polymorphic value has.
16+
*/
1217
public class MinimalClassNameIdResolver
1318
extends ClassNameIdResolver
1419
{

src/main/java/com/fasterxml/jackson/databind/jsontype/impl/TypeNameIdResolver.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
import com.fasterxml.jackson.databind.cfg.MapperConfig;
1212
import com.fasterxml.jackson.databind.jsontype.NamedType;
1313

14+
/**
15+
* {@link com.fasterxml.jackson.databind.jsontype.TypeIdResolver} implementation
16+
* that converts uses explicitly specified (by annotation) type names
17+
* and maps to implementation classes; or, in absence of annotated type name,
18+
* defaults to fully-qualified {@link Class} names.
19+
*/
1420
public class TypeNameIdResolver extends TypeIdResolverBase
1521
{
1622
protected final MapperConfig<?> _config;

0 commit comments

Comments
 (0)