public abstract class MetaDataRegistrar
extends java.lang.Object
MetaDataContributor
Constructor and Description |
---|
MetaDataRegistrar() |
Modifier and Type | Method and Description |
---|---|
static MetaDataRegistrar |
getInstance() |
abstract <T extends PsiMetaData> |
registerMetaData(ElementFilter filter,
java.lang.Class<T> metadataDescriptorClass)
Associates elements matching given filter with metadata class.
|
public abstract <T extends PsiMetaData> void registerMetaData(ElementFilter filter, java.lang.Class<T> metadataDescriptorClass)
filter
- on element for finding metadata matchesmetadataDescriptorClass
- class of metadata, should be instantiable without parameterspublic static MetaDataRegistrar getInstance()