public abstract class MetadataDefinitionBase extends DefinitionBase implements IMetadataDefinition
FLAG_CAST_FUNCTION, FLAG_CONSTRUCTOR, FLAG_CONTINGENT, FLAG_DECLARED_IN_CONTROL_FLOW, FLAG_DEFAULT, FLAG_DEPRECATED, FLAG_DYNAMIC, FLAG_FINAL, FLAG_GENERATED_EMBED_CLASS, FLAG_HAS_INIT, FLAG_IMPLICIT, FLAG_NATIVE, FLAG_OVERRIDE, FLAG_REST, FLAG_STATIC, flags, nodeRef, singletonEmptyMetaTags| Constructor and Description |
|---|
MetadataDefinitionBase(String name,
String tagName,
IClassDefinition decoratedDefinition) |
| Modifier and Type | Method and Description |
|---|---|
IMetaTagAttribute[] |
getAttributes() |
String |
getAttributeValue(String key) |
IDefinition |
getDecoratedDefinition()
Gets the definition that this metadata is decorating.
|
IDefinitionNode |
getDecoratedDefinitionNode() |
String |
getDeprecatedMessage()
Gets the value of the
deprecatedMessage attribute. |
String |
getDeprecatedReplacement()
Gets the value of the
deprecatedReplacement attribute. |
String |
getDeprecatedSince()
Gets the value of the
deprecatedSince attribute. |
int |
getEnd()
Gets the local ending offset of this entire definition (not just the
name).
|
int |
getStart()
Gets the local starting offset of the entire definition (not just the
name).
|
String |
getTagName() |
IMetaTagsNode |
getTagNode() |
boolean |
matches(DefinitionBase definition) |
addMetaTag, buildInnerString, buildString, getAbsoluteEnd, getAbsoluteStart, getAllMetaTags, getAncestorOfType, getArrayElementType, getBaseName, getBindableEventNames, getColumn, getContainingASScope, getContainingFilePath, getContainingScope, getContainingSourceFilePath, getDefinition, getDeprecationInfo, getExplicitSourceComment, getFileScope, getFileSpecification, getInstanceType, getLine, getLocationString, getMaxSize, getMetaTagByName, getMetaTagsByName, getMName, getModifiers, getNameColumn, getNameEnd, getNameLine, getNamespaceReference, getNamespaceReferenceAsString, getNameStart, getNode, getPackageName, getParent, getPercentProxy, getQualifiedName, getSize, getSkinPart, getSourcePath, getStorageName, getTypeAsDisplayString, getTypeDependencyType, getTypeReference, hasCollapseWhiteSpace, hasExplicitComment, hasMetaTagByName, hasModifier, hasNamespace, hasRichTextContent, inPackageNamespace, isBindable, isBindableStyle, isColor, isContingent, isContingentNeeded, isDeprecated, isDynamic, isEmpty, isFinal, isGeneratedEmbedClass, isImplicit, isInProject, isInternal, isNative, isOverride, isPrivate, isProtected, isPublic, isRequiredSkinPart, isStatic, isTopLevelDefinition, resolveNamespace, resolveType, resolveType, resolveType, resolveType, resolveType, setBindable, setContainingScope, setContingent, setDynamic, setFinal, setGeneratedEmbedClass, setImplicit, setLocation, setMetaTags, setModifier, setNameLocation, setNamespaceReference, setNative, setNode, setOverride, setPublic, setStatic, setTypeReference, toStorageName, toString, unsetOverride, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExplicitSourceComment, hasExplicitCommentgetAbsoluteEnd, getAbsoluteStart, getAllMetaTags, getAncestorOfType, getBaseName, getBindableEventNames, getColumn, getContainingFilePath, getContainingScope, getContainingSourceFilePath, getDeprecationInfo, getLine, getMetaTagByName, getMetaTagsByName, getModifiers, getNameColumn, getNameEnd, getNameLine, getNamespaceReference, getNameStart, getNode, getPackageName, getParent, getQualifiedName, getSourcePath, getTypeAsDisplayString, getTypeReference, hasMetaTagByName, hasModifier, hasNamespace, isBindable, isBindableStyle, isContingent, isContingentNeeded, isDeprecated, isDynamic, isFinal, isGeneratedEmbedClass, isImplicit, isInProject, isInternal, isNative, isOverride, isPrivate, isProtected, isPublic, isStatic, resolveNamespace, resolveTypepublic MetadataDefinitionBase(String name, String tagName, IClassDefinition decoratedDefinition)
public IDefinition getDecoratedDefinition()
IMetadataDefinitiongetDecoratedDefinition in interface IMetadataDefinitionIDefinition object.public IMetaTagsNode getTagNode()
public int getStart()
IDefinitiongetStart in interface IDefinitiongetStart in class DefinitionBaseint for the offset.public int getEnd()
IDefinitiongetEnd in interface IDefinitiongetEnd in class DefinitionBaseint for the offset.public IDefinitionNode getDecoratedDefinitionNode()
public String getTagName()
public IMetaTagAttribute[] getAttributes()
public boolean matches(DefinitionBase definition)
matches in class DefinitionBasepublic String getDeprecatedSince()
IMetadataDefinitiondeprecatedSince attribute.getDeprecatedSince in interface IMetadataDefinitionnull if there is
no such attribute.public String getDeprecatedReplacement()
IMetadataDefinitiondeprecatedReplacement attribute.getDeprecatedReplacement in interface IMetadataDefinitionnull if there is
no such attribute.public String getDeprecatedMessage()
IMetadataDefinitiondeprecatedMessage attribute.getDeprecatedMessage in interface IMetadataDefinitionnull if there is
no such attribute.Copyright © 2016 The Apache Software Foundation. All rights reserved.