@ SuppressWarnings ( "static-method" ) protected boolean isUnpureOperationPrototype ( XtendFunction operation ) { if ( operation == null || operation . isAbstract ( ) || operation . isDispatch ( ) || operation . isNative ( ) || operation . getExpression ( ) == null ) { return true ; } final XtendTypeDeclaration declaringType = operation . getDeclaringType ( ) ; return declaringType instanceof SarlCapacity ; }
Replies if the given function is purable according to its modifiers and prototype .