Top Methods
org.eclipse.xtend.lib.macro.declaration

public Interface NamedElement

extends Element
Known Direct Subinterfaces
org.eclipse.xtend.lib.macro.declaration.Type, org.eclipse.xtend.lib.macro.declaration.AnnotationTarget, org.eclipse.xtend.lib.macro.declaration.MutableNamedElement
Annotations
@Beta
Imports
com.google.common.annotations.Beta

Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public CompilationUnit

Returns:

the currently processed compilation unit this element is contained in, or null if this element is not contained in the currently processed compilation unit.
getCompilationUnit
()

public String

Returns:

the name of this element
getSimpleName
()

Method Detail

getCompilationUnitback to summary
public CompilationUnit getCompilationUnit()
Returns:CompilationUnit

the currently processed compilation unit this element is contained in, or null if this element is not contained in the currently processed compilation unit.

getSimpleNameback to summary
public String getSimpleName()
Returns:String

the name of this element