public boolean apply ( final StringBuilder stringBuilder , final OutputStyle outputStyle , final OutputElement outputElement ) { boolean result = false ; if ( outputElement != null ) { if ( OutputElementType . COLLECTION . equals ( outputElement . getOutputElementType ( ) ) ) { result = handleCollectionType ( stringBuilder , outputStyle , outputElement ) ; } else if ( OutputElementType . COMPLEX . equals ( outputElement . getOutputElementType ( ) ) ) { if ( TraceeContextLogAnnotationUtilities . getAnnotationFromType ( outputElement . getEncapsulatedInstance ( ) ) != null ) { result = handleTraceeContextprovider ( stringBuilder , outputStyle , outputElement ) ; } else { result = handleComplexType ( stringBuilder , outputStyle , outputElement ) ; } } } return result ; }
Write the type string to the Stringbuilder