@Retention(value=RUNTIME) @Target(value=METHOD) @API(status=STABLE) public @interface DocStringType
The name of the method is used as the content type of the
DocStringType.
The method must have this signature:
String -> Author Author is an example of the type of the parameter type.DocStringType| Modifier and Type | Optional Element and Description |
|---|---|
String |
contentType
Name of the content type.
|
public abstract String contentType
When not provided this will default to the name of the annotated method.
DocStringType.getContentType()Copyright © 2019. All rights reserved.