protected void updateLinkLabel ( LinkInfo linkInfo ) { if ( linkInfo . type != null && linkInfo instanceof LinkInfoImpl ) { final LinkInfoImpl impl = ( LinkInfoImpl ) linkInfo ; final ClassDoc classdoc = linkInfo . type . asClassDoc ( ) ; if ( classdoc != null ) { final SARLFeatureAccess kw = Utils . getKeywords ( ) ; final String name = classdoc . qualifiedName ( ) ; if ( isPrefix ( name , kw . getProceduresName ( ) ) ) { linkInfo . label = createProcedureLambdaLabel ( impl ) ; } else if ( isPrefix ( name , kw . getFunctionsName ( ) ) ) { linkInfo . label = createFunctionLambdaLabel ( impl ) ; } } } }
Update the label of the given link with the SARL notation for lambdas .