Class ImportingStringConcatenation

  • All Implemented Interfaces:
    java.lang.CharSequence

    public class ImportingStringConcatenation
    extends org.eclipse.xtend2.lib.StringConcatenation
    A specialized StringConcatenation that will properly convert instances of Class, JvmType, JvmTypeReference or LightweightTypeReference to their valid serialized representation including import handling.
    • Field Summary

      • Fields inherited from class org.eclipse.xtend2.lib.StringConcatenation

        DEFAULT_LINE_DELIMITER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String _getStringRepresentation​(java.lang.Class<?> object)  
      protected java.lang.String _getStringRepresentation​(java.lang.Object object)  
      protected java.lang.String _getStringRepresentation​(org.eclipse.xtext.common.types.JvmType object)  
      protected java.lang.String _getStringRepresentation​(org.eclipse.xtext.common.types.JvmTypeReference object)  
      protected java.lang.String _getStringRepresentation​(LightweightTypeReference 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)  
      • Methods inherited from class org.eclipse.xtend2.lib.StringConcatenation

        append, append, append, append, append, append, append, append, append, append, appendImmediate, appendSegments, appendSegments, appendSegments, charAt, getContent, getLineDelimiter, length, newLine, newLineIfNotEmpty, splitLinesAndNewLines, subSequence, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.CharSequence

        chars, codePoints
    • Method Detail

      • _getStringRepresentation

        protected java.lang.String _getStringRepresentation​(java.lang.Object object)
      • _getStringRepresentation

        protected java.lang.String _getStringRepresentation​(org.eclipse.xtext.common.types.JvmType object)
      • _getStringRepresentation

        protected java.lang.String _getStringRepresentation​(org.eclipse.xtext.common.types.JvmTypeReference object)
      • _getStringRepresentation

        protected java.lang.String _getStringRepresentation​(java.lang.Class<?> object)
      • getSignificantContent

        protected java.util.List<java.lang.String> getSignificantContent()
        A potentially contained trailing line delimiter is ignored.
        Overrides:
        getSignificantContent in class org.eclipse.xtend2.lib.StringConcatenation
      • getStringRepresentation

        protected java.lang.String getStringRepresentation​(java.lang.Object object)
        Overrides:
        getStringRepresentation in class org.eclipse.xtend2.lib.StringConcatenation