public class ImportingStringConcatenation extends StringConcatenation
StringConcatenation that will properly convert instances of
Class, JvmType, JvmTypeReference or LightweightTypeReference
to their valid serialized representation including import handling.DEFAULT_LINE_DELIMITER| Constructor and Description |
|---|
ImportingStringConcatenation(SharedAppendableState state,
ITypeReferenceOwner typeReferenceOwner) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_getStringRepresentation(Class<?> object) |
protected String |
_getStringRepresentation(JvmType object) |
protected String |
_getStringRepresentation(JvmTypeReference object) |
protected String |
_getStringRepresentation(LightweightTypeReference object) |
protected String |
_getStringRepresentation(Object object) |
protected List<String> |
getSignificantContent()
A potentially contained trailing line delimiter is ignored.
|
protected String |
getStringRepresentation(Object object) |
append, append, append, append, appendImmediate, appendSegments, appendSegments, appendSegments, charAt, getContent, getLineDelimiter, length, newLine, newLineIfNotEmpty, splitLinesAndNewLines, subSequence, toStringpublic ImportingStringConcatenation(SharedAppendableState state, ITypeReferenceOwner typeReferenceOwner)
protected String _getStringRepresentation(JvmTypeReference object)
protected String _getStringRepresentation(LightweightTypeReference object)
protected List<String> getSignificantContent()
getSignificantContent in class StringConcatenationprotected String getStringRepresentation(Object object)
getStringRepresentation in class StringConcatenationCopyright © 2015. All Rights Reserved.