public class ImportingStringConcatenation
extends org.eclipse.xtend2.lib.StringConcatenation
StringConcatenation
that will properly convert instances of
Class
, JvmType
, JvmTypeReference
or LightweightTypeReference
to their valid serialized representation including import handling.Constructor and Description |
---|
ImportingStringConcatenation(SharedAppendableState state,
ITypeReferenceOwner typeReferenceOwner) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
_getStringRepresentation(java.lang.Class<? extends java.lang.Object> object) |
protected java.lang.String |
_getStringRepresentation(JvmType object) |
protected java.lang.String |
_getStringRepresentation(JvmTypeReference object) |
protected java.lang.String |
_getStringRepresentation(LightweightTypeReference object) |
protected java.lang.String |
_getStringRepresentation(java.lang.Object object) |
protected java.util.List<java.lang.String> |
getSignificantContent()
A potentially contained trailing line delimiter is ignored.
|
protected java.lang.String |
getStringRepresentation(java.lang.Object object) |
public ImportingStringConcatenation(SharedAppendableState state, ITypeReferenceOwner typeReferenceOwner)
protected java.lang.String _getStringRepresentation(java.lang.Object object)
protected java.lang.String _getStringRepresentation(JvmType object)
protected java.lang.String _getStringRepresentation(JvmTypeReference object)
protected java.lang.String _getStringRepresentation(LightweightTypeReference object)
protected java.lang.String _getStringRepresentation(java.lang.Class<? extends java.lang.Object> object)
protected java.util.List<java.lang.String> getSignificantContent()
getSignificantContent
in class org.eclipse.xtend2.lib.StringConcatenation
protected java.lang.String getStringRepresentation(java.lang.Object object)
getStringRepresentation
in class org.eclipse.xtend2.lib.StringConcatenation