Class TypeNameUtils


  • public class TypeNameUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String collectionOfNameIfApplicable​(javax.annotation.processing.ProcessingEnvironment processingEnvironment, com.squareup.javapoet.TypeName typeName)  
      static boolean isCollectionWithGenericParameter​(javax.annotation.processing.ProcessingEnvironment processingEnvironment, com.squareup.javapoet.ParameterizedTypeName parameterizedTypeName)  
      static com.squareup.javapoet.TypeName rawType​(com.squareup.javapoet.TypeName typeName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • rawType

        public static com.squareup.javapoet.TypeName rawType​(com.squareup.javapoet.TypeName typeName)
      • isCollectionWithGenericParameter

        public static boolean isCollectionWithGenericParameter​(javax.annotation.processing.ProcessingEnvironment processingEnvironment,
                                                               com.squareup.javapoet.ParameterizedTypeName parameterizedTypeName)
      • collectionOfNameIfApplicable

        public static java.lang.String collectionOfNameIfApplicable​(javax.annotation.processing.ProcessingEnvironment processingEnvironment,
                                                                    com.squareup.javapoet.TypeName typeName)