boolean evaluatePureAnnotationAdapters ( org . eclipse . xtext . common . types . JvmOperation operation , ISideEffectContext context ) { int index = - 1 ; int i = 0 ; for ( final Adapter adapter : operation . eAdapters ( ) ) { if ( adapter . isAdapterForType ( AnnotationJavaGenerationAdapter . class ) ) { index = i ; break ; } ++ i ; } if ( index >= 0 ) { final AnnotationJavaGenerationAdapter annotationAdapter = ( AnnotationJavaGenerationAdapter ) operation . eAdapters ( ) . get ( index ) ; assert annotationAdapter != null ; return annotationAdapter . applyAdaptations ( this , operation , context ) ; } return false ; }
Evalute the Pure annotatino adapters .