Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 86 for supertypes (0.15 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

        private fun Fe10AnalysisContext.renderIntersectionType(typeConstructor: IntersectionTypeConstructor, printer: PrettyPrinter) {
            with(printer) {
                append("it")
                printCollection(typeConstructor.supertypes, separator = " & ", prefix = "(", postfix = ")") {
                    renderType(it, printer)
                }
            }
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescNamedClassOrObjectSymbol.kt

                    error("Should be an anonymous object")
                }
                descriptor.kind.toKtClassKind(isCompanionObject = descriptor.isCompanionObject)
            }
    
        override val superTypes: List<KtType>
            get() = withValidityAssertion {
                descriptor.getSupertypesWithAny().map { it.toKtType(analysisContext) }
            }
    
        override val classIdIfNonLocal: ClassId?
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiNamedClassOrObjectSymbol.kt

                        else -> KtClassKind.CLASS
                    }
                    else -> error("Unexpected class instance")
                }
            }
    
        override val superTypes: List<KtType>
            get() = withValidityAssertion {
                descriptor?.getSupertypesWithAny()?.map { it.toKtType(analysisContext) } ?: emptyList()
            }
    
        override val classIdIfNonLocal: ClassId?
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE) { firDiagnostic ->
            QualifiedSupertypeExtendedByOtherSupertypeImpl(
                firSymbolBuilder.buildSymbol(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.SUPERTYPE_INITIALIZED_IN_INTERFACE) { firDiagnostic ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/SerializableTester.java

       * those sublists might implement a private {@code MySubList} type but serialize as a plain {@code
       * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@code
       * MySubList}, this is safe. For these cases, for which {@code reserializeAndAssert} is too
       * strict, use {@link #reserialize}.
       *
       * @return the re-serialized object
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
              FluentIterable.from(TypeToken.of(clazz).getTypes())
                  .transform(TypeToken::getRawType)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
              FluentIterable.from(TypeToken.of(clazz).getTypes())
                  .transform(TypeToken::getRawType)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

       * returns a {@link FluentIterable} of elements of an anonymous type whose supertypes are the <a
       * href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.9">intersection</a> of
       * the supertypes of {@code A} and the supertypes of {@code B}.
       */
      public void testConcatIntersectionType() {
        Iterable<A> aIterable = ImmutableList.of();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FluentIterableTest.java

       * returns a {@link FluentIterable} of elements of an anonymous type whose supertypes are the <a
       * href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.9">intersection</a> of
       * the supertypes of {@code A} and the supertypes of {@code B}.
       */
      public void testConcatIntersectionType() {
        Iterable<A> aIterable = ImmutableList.of();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                is ConeFlexibleType -> upperBound.toConstantValueKind()
                is ConeCapturedType -> lowerType?.toConstantValueKind() ?: constructor.supertypes!!.first().toConstantValueKind()
                is ConeDefinitelyNotNullType -> original.toConstantValueKind()
                is ConeIntersectionType -> intersectedTypes.first().toConstantValueKind()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
Back to top