Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for TypeElement (0.51 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java

            return false;
        }
    
        private Set<Element> findActualTypesToVisit(Element typeElement) {
            Optional<? extends AnnotationMirror> annotationMirror = AnnotationUtils.findAnnotationMirror(typeElement, VisitForInstrumentation.class);
            if (!annotationMirror.isPresent()) {
                return Collections.singleton(typeElement);
            }
    
            @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt

         */
        private fun findInheritableSimpleNames(typeElement: KtTypeElement): List<String> {
            return when (typeElement) {
                is KtUserType -> {
                    val referenceName = typeElement.referencedName ?: return emptyList()
    
                    buildList {
                        add(referenceName)
    
                        val ktFile = typeElement.containingKtFile
                        if (!ktFile.isCompiled) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

            val typeElement = asPsiTypeElement(
                simplifyType(kotlinType),
                useSitePosition,
                mode.toTypeMappingMode(type, isAnnotationMethod, suppressWildcards),
            )
    
            val psiType = typeElement?.type ?: return null
            if (!preserveAnnotations) return psiType
    
            return annotateByKotlinType(psiType, kotlinType, typeElement, inferNullability = true)
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

                import javax.annotation.processing.SupportedSourceVersion;
                import javax.lang.model.SourceVersion;
                import javax.lang.model.element.TypeElement;
                import java.util.Set;
                import javax.tools.FileObject;
                import javax.tools.StandardLocation;
                import java.io.Writer;
    
                @SupportedAnnotationTypes("WorkerPid")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

                import javax.annotation.processing.SupportedSourceVersion;
                import javax.lang.model.SourceVersion;
                import javax.lang.model.element.TypeElement;
                import java.util.Set;
                import java.io.File;
                import javax.tools.StandardLocation;
                import java.io.Writer;
                import javax.tools.FileObject;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            val typeElement = coneType.simplifyType(rootModuleSession, useSitePosition).asPsiTypeElement(
                session = rootModuleSession,
                mode = mode.toTypeMappingMode(type, isAnnotationMethod, suppressWildcards),
                useSitePosition = useSitePosition,
                allowErrorTypes = allowErrorTypes,
            ) ?: return null
    
            val psiType = typeElement.type
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        fun processTypeRef(resolvedTypeRef: FirResolvedTypeRef) {
            val typeElement = resolvedTypeRef.correspondingTypePsi ?: return
            if (typeElement.qualifier == null) return
    
            val classifierId = resolvedTypeRef.type.abbreviatedTypeOrSelf.lowerBoundIfFlexible().candidateClassId ?: return
    
            findClassifierQualifierToShorten(classifierId, typeElement)?.let(::addElementToShorten)
        }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

                import javax.annotation.processing.SupportedSourceVersion;
                import javax.lang.model.SourceVersion;
                import javax.lang.model.element.TypeElement;
                import javax.lang.model.element.Element;
                import javax.tools.Diagnostic;
    
                import java.util.Set;
    
                @SupportedAnnotationTypes("com.example.DummyAnnotation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

                            import javax.annotation.processing.SupportedAnnotationTypes;
                            import javax.lang.model.element.Element;
                            import javax.lang.model.element.TypeElement;
                            import javax.lang.model.SourceVersion;
                            import javax.tools.JavaFileObject;
    
                            @SupportedAnnotationTypes("com.test.SimpleAnnotation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            }
    
            fun unwrapType(type: PsiElement?): KtTypeElement = when (type) {
                is KtTypeReference -> unwrapType(type.typeElement)
                is KtNullableType -> type.innerType
                is KtTypeElement -> type
                is KtNameReferenceExpression -> unwrapType(type.parent)
                else -> unexpectedElementError<PsiElement>(type)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top