Example usage for org.eclipse.jdt.internal.compiler.parser RecoveredAnnotation SINGLE_MEMBER

List of usage examples for org.eclipse.jdt.internal.compiler.parser RecoveredAnnotation SINGLE_MEMBER

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.compiler.parser RecoveredAnnotation SINGLE_MEMBER.

Prototype

int SINGLE_MEMBER

To view the source code for org.eclipse.jdt.internal.compiler.parser RecoveredAnnotation SINGLE_MEMBER.

Click Source Link

Usage

From source file:org.eclipse.jdt.internal.compiler.parser.Parser.java

License:Open Source License

protected void consumeSingleMemberAnnotationMemberValue() {
    // this rule is used for syntax recovery only
    if (this.currentElement != null && this.currentElement instanceof RecoveredAnnotation) {
        RecoveredAnnotation recoveredAnnotation = (RecoveredAnnotation) this.currentElement;

        recoveredAnnotation.setKind(RecoveredAnnotation.SINGLE_MEMBER);
    }//from  w w  w. j  av a2s.c  o m

}