protected Boolean _generate ( XCastedExpression expression , XExpression parentExpression , XtendExecutable feature , InlineAnnotationTreeAppendable output ) { final InlineAnnotationTreeAppendable child = newAppendable ( output . getImportManager ( ) ) ; boolean bool = generate ( expression . getTarget ( ) , expression , feature , child ) ; final String childContent = child . getContent ( ) ; if ( ! Strings . isEmpty ( childContent ) ) { output . append ( "(" ) ; //$NON-NLS-1$ output . append ( expression . getType ( ) . getType ( ) ) ; output . append ( ")" ) ; //$NON-NLS-1$ output . append ( childContent ) ; output . setConstant ( child . isConstant ( ) ) ; bool = true ; } return bool ; }
Append the inline code for the given XCastedExpression .