Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.jsontype;
 
 
Helper object used for handling registration on resolving of super-types to sub-types.
public abstract class SubtypeResolver
{
    
Method for registering specified subtypes (possibly including type names); for type entries without name, non-qualified class name as used as name (unless overridden by annotation).
    public abstract void registerSubtypes(NamedType... types);
    public abstract void registerSubtypes(Class<?>... classes);
    
    

Deprecated:
Since 2.1: use variant that takes in property type.
    @Deprecated
    public abstract Collection<NamedTypecollectAndResolveSubtypes(AnnotatedMember property,
            MapperConfig<?> configAnnotationIntrospector ai);

    
Method for finding out all reachable subtypes for a property specified by given element (method or field)

Parameters:
baseType Effective property base type to use; may differ from actual type of property; for structured types it is content (value) type and NOT structured type.
Since:
2.1
    public abstract Collection<NamedTypecollectAndResolveSubtypes(AnnotatedMember property,
            MapperConfig<?> configAnnotationIntrospector aiJavaType baseType);
    
    
Method for finding out all reachable subtypes for given type.
    public abstract Collection<NamedTypecollectAndResolveSubtypes(AnnotatedClass basetype,
            MapperConfig<?> configAnnotationIntrospector ai);
New to GrepCode? Check out our FAQ X