|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for a definition node. Extended by IVariable, IPackage, IClass, IFunction
| Method Summary | |
java.lang.String |
getContainingFilePath()
Get the file path in which this type is defined |
java.lang.String |
getContainingSourceFilePath()
Get the source file path in which this type is defined. |
IMetaTags |
getMetaTags()
Get the metadata tags of this node. |
java.lang.String |
getName()
Get the name of the type |
int |
getNameEnd()
Get the end offset of the name |
java.lang.String |
getNamespace()
Returns the namespace that this member belongs to |
int |
getNameStart()
Get the start offset of the name (useful for go to definition) |
java.lang.String |
getPackageName()
Get package name that applies to this node |
java.lang.String |
getQualifiedName()
Get the qualified name of this type |
java.lang.String |
getShortName()
Get the short name of this type (without any package information) |
boolean |
hasModifier(java.lang.String modifier)
Is the given modifier present on this definition? Modifiers include dynamic, explicit, final, native, override |
boolean |
hasNamespace(java.lang.String namespace)
Is the given namespace present on this definition? Namespaces include private, protected, public and internal, plus any custom namespaces available in scope |
boolean |
isImplicit()
Is this definition an implicit definition that doesn't actually appear in the source file? Examples include this, super, default constructors, and cast functions. |
INamespace |
resolveNamespace()
Resolves the currently set namespace to its root definition. |
| Method Detail |
public java.lang.String getName()
public java.lang.String getContainingFilePath()
public java.lang.String getContainingSourceFilePath()
public int getNameStart()
public int getNameEnd()
public java.lang.String getPackageName()
public java.lang.String getQualifiedName()
public java.lang.String getShortName()
public boolean hasModifier(java.lang.String modifier)
public boolean hasNamespace(java.lang.String namespace)
namespace -
public java.lang.String getNamespace()
public INamespace resolveNamespace()
INamespace or nullpublic boolean isImplicit()
public IMetaTags getMetaTags()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||