- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for TypeElement (0.31 sec)
-
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) -
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) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy
package org.gradle; import javax.annotation.processing.*; import javax.lang.model.SourceVersion; import javax.lang.model.element.TypeElement; import java.util.Collections; import java.util.Set; import java.io.PrintStream; import java.io.File; import java.io.IOException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 11.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy
} @Override protected String getGeneratorCode() { """ for (Element element : elements) { TypeElement typeElement = (TypeElement) element; String className = typeElement.getSimpleName().toString() + "Thingy"; try { JavaFileObject sourceFile = filer.createSourceFile(className, element);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 20.1K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy
import javax.annotation.processing.*; 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: Mon Sep 18 09:08:49 UTC 2023 - 27K bytes - Viewed (0) -
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) -
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)