Class ImportsTypeStringResolver

  • All Implemented Interfaces:
    com.google.common.base.Function<java.lang.String,​java.lang.String>, java.util.function.Function<java.lang.String,​java.lang.String>

    class ImportsTypeStringResolver
    extends java.lang.Object
    implements com.google.common.base.Function<java.lang.String,​java.lang.String>
    • Field Detail

      • unresolved

        boolean unresolved
      • extendedClasses

        @Nullable
        private com.google.common.collect.ImmutableList<javax.lang.model.element.TypeElement> extendedClasses
      • implementedInterfaces

        @Nullable
        private com.google.common.collect.ImmutableSet<javax.lang.model.element.TypeElement> implementedInterfaces
      • unresolvedYetArguments

        private com.google.common.collect.ImmutableSet<java.lang.String> unresolvedYetArguments
      • round

        private Round round
    • Method Detail

      • hierarchyTraversalForUnresolvedTypes

        void hierarchyTraversalForUnresolvedTypes​(Round round,
                                                  com.google.common.collect.ImmutableList<javax.lang.model.element.TypeElement> extendedClasses,
                                                  com.google.common.collect.ImmutableSet<javax.lang.model.element.TypeElement> implementedInterfaces,
                                                  com.google.common.collect.ImmutableSet<java.lang.String> unresolvedYetArguments)
      • apply

        public java.lang.String apply​(java.lang.String input)
        Specified by:
        apply in interface com.google.common.base.Function<java.lang.String,​java.lang.String>
        Specified by:
        apply in interface java.util.function.Function<java.lang.String,​java.lang.String>
      • resolveTopForAttribute

        java.lang.String resolveTopForAttribute​(java.lang.String input)
      • getFromSourceImports

        @Nullable
        private java.lang.String getFromSourceImports​(java.lang.String resolvable,
                                                      boolean notTypeArgument)
      • qualifyImportedIfPossible

        private java.lang.String qualifyImportedIfPossible​(java.lang.String typeName,
                                                           boolean notTypeArgument)