Example usage for org.eclipse.jdt.internal.core Annotation NO_ANNOTATIONS

List of usage examples for org.eclipse.jdt.internal.core Annotation NO_ANNOTATIONS

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.core Annotation NO_ANNOTATIONS.

Prototype

IAnnotation[] NO_ANNOTATIONS

To view the source code for org.eclipse.jdt.internal.core Annotation NO_ANNOTATIONS.

Click Source Link

Usage

From source file:org.eclipse.ajdt.core.javaelements.AspectJMemberElementInfo.java

License:Open Source License

public void setAnnotations(IAnnotation[] annotations) {
    if (annotations == null) {
        this.annotations = Annotation.NO_ANNOTATIONS;
    } else {/*from  ww  w.  j  a  va2 s.co  m*/
        this.annotations = annotations;
    }
}