use of org.eclipse.n4js.n4JS.PropertyAssignmentAnnotationList in project n4js by eclipse.
the class PropertyGetterDeclarationImpl method getAnnotations.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Annotation> getAnnotations() {
EList<Annotation> _elvis = null;
PropertyAssignmentAnnotationList _annotationList = this.getAnnotationList();
EList<Annotation> _annotations = null;
if (_annotationList != null) {
_annotations = _annotationList.getAnnotations();
}
if (_annotations != null) {
_elvis = _annotations;
} else {
EList<Annotation> _emptyEList = XcoreCollectionLiterals.<Annotation>emptyEList();
_elvis = _emptyEList;
}
return _elvis;
}
use of org.eclipse.n4js.n4JS.PropertyAssignmentAnnotationList in project n4js by eclipse.
the class AnnotablePropertyAssignmentImpl method getAnnotations.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Annotation> getAnnotations() {
EList<Annotation> _elvis = null;
PropertyAssignmentAnnotationList _annotationList = this.getAnnotationList();
EList<Annotation> _annotations = null;
if (_annotationList != null) {
_annotations = _annotationList.getAnnotations();
}
if (_annotations != null) {
_elvis = _annotations;
} else {
EList<Annotation> _emptyEList = XcoreCollectionLiterals.<Annotation>emptyEList();
_elvis = _emptyEList;
}
return _elvis;
}
Aggregations