@Retention(value=RUNTIME) public @interface TemplateMetadata
For now this just records the strict content kind of a template (if any), in the future consider adding:
| Modifier and Type | Required Element and Description |
|---|---|
String[] |
callees
Returns the fully qualified names of all the basic templates called by this template.
|
String |
contentKind
The content kind of the template.
|
String[] |
delCallees
Returns the fully qualified names of all the delegate templates called by this template.
|
String[] |
injectedParams
Returns the list of injected params, both
$ij.foo variables and @inject params |
| Modifier and Type | Optional Element and Description |
|---|---|
TemplateMetadata.DelTemplateMetadata |
deltemplateMetadata
Returns metadata for deltemplates.
|
public abstract String contentKind
SanitizedContent.ContentKind constant names or
"" which means that this isn't a strict template.public abstract String[] injectedParams
$ij.foo variables and @inject paramspublic abstract String[] callees
public abstract String[] delCallees
public abstract TemplateMetadata.DelTemplateMetadata deltemplateMetadata
TemplateMetadata.DelTemplateMetadata.name().