Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for TypeElement (0.18 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-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)
  4. 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)
  5. 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)
  6. 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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                val wholeClassId = typeRef.resolvedClassId ?: return null
                val psi = typeRef.psi as? KtTypeReference ?: return null
    
                val wholeUserType = psi.typeElement?.unwrapNullability() as? KtUserType ?: return null
    
                return KtUserTypeQualifier(wholeClassId, wholeUserType)
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top