@API(status=STABLE) public final class DocStringType extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
DocStringType.Transformer<T> |
| Constructor and Description |
|---|
DocStringType(Type type,
String contentType,
DocStringType.Transformer<T> transformer)
Creates a doc string type that can convert a doc string to an object.
|
public DocStringType(Type type, String contentType, DocStringType.Transformer<T> transformer)
T - see typetype - the type of the objectcontentType - the media type or GFM info stringtransformer - a function that creates an instance of
type from the doc stringCopyright © 2020. All rights reserved.