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, verify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExplicitSourceComment, hasExplicitComment
getAbsoluteEnd, 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, resolveType
public MetadataDefinitionBase(String name, String tagName, IClassDefinition decoratedDefinition)
public IDefinition getDecoratedDefinition()
IMetadataDefinition
getDecoratedDefinition
in interface IMetadataDefinition
IDefinition
object.public IMetaTagsNode getTagNode()
public int getStart()
IDefinition
getStart
in interface IDefinition
getStart
in class DefinitionBase
int
for the offset.public int getEnd()
IDefinition
getEnd
in interface IDefinition
getEnd
in class DefinitionBase
int
for the offset.public IDefinitionNode getDecoratedDefinitionNode()
public String getTagName()
public IMetaTagAttribute[] getAttributes()
public boolean matches(DefinitionBase definition)
matches
in class DefinitionBase
public String getDeprecatedSince()
IMetadataDefinition
deprecatedSince
attribute.getDeprecatedSince
in interface IMetadataDefinition
null
if there is
no such attribute.public String getDeprecatedReplacement()
IMetadataDefinition
deprecatedReplacement
attribute.getDeprecatedReplacement
in interface IMetadataDefinition
null
if there is
no such attribute.public String getDeprecatedMessage()
IMetadataDefinition
deprecatedMessage
attribute.getDeprecatedMessage
in interface IMetadataDefinition
null
if there is
no such attribute.Copyright © 2016 The Apache Software Foundation. All rights reserved.