public interface IDefinitionNode extends IASNode
Each IDefinitionNode
produces an IDefinition
.
UNKNOWN
Modifier and Type | Method and Description |
---|---|
String |
getContainingFilePath()
Get the file path in which this type is defined
|
IDefinition |
getDefinition() |
IMetaInfo[] |
getMetaInfos()
Get the
IMetaInfo s for all the metadat tags of this node. |
IMetaTagsNode |
getMetaTags()
Get the metadata tags of this node.
|
String |
getName()
Get the name of the type
|
int |
getNameAbsoluteEnd()
Get the absolute end offset of the name
|
int |
getNameAbsoluteStart()
Get the absolute start offset of the name
|
int |
getNameEnd()
Get the local end offset of the name
|
IExpressionNode |
getNameExpressionNode()
Gets the expression that represents the name of this
IDefinitionNode |
String |
getNamespace()
Returns the namespace that this member belongs to
|
int |
getNameStart()
Get the local start offset of the name
|
String |
getPackageName()
Get package name that applies to this node
|
String |
getQualifiedName()
Get the qualified name of this type
|
String |
getShortName()
Get the short name of this type (without any package information)
|
boolean |
hasModifier(ASModifier modifier)
Is the given modifier present on this definition?
|
boolean |
hasNamespace(String namespace)
Is the given namespace present on this definition?
|
boolean |
isImplicit()
Is this definition an implicit definition that doesn't actually appear in
the source file?
|
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
String getName()
IExpressionNode getNameExpressionNode()
IDefinitionNode
IExpressionNode
that represents the name of this typeString getContainingFilePath()
int getNameStart()
int getNameEnd()
int getNameAbsoluteStart()
int getNameAbsoluteEnd()
String getPackageName()
getPackageName
in interface IASNode
String getQualifiedName()
String getShortName()
boolean hasModifier(ASModifier modifier)
ASModifier
for the list of modifiersboolean hasNamespace(String namespace)
namespace
- the namespace to check forString getNamespace()
boolean isImplicit()
this
, super
,
default constructors, and cast functions.IMetaTagsNode getMetaTags()
IMetaTagsNode
or nullIMetaInfo[] getMetaInfos()
IMetaInfo
s for all the metadat tags of this node.IMetaInfo
s. Never null.IDefinition getDefinition()
Copyright © 2016 The Apache Software Foundation. All rights reserved.