- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 529 for GetInstance (0.17 sec)
-
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinForwardDeclarationProviderFactory.kt
*/ public abstract fun createDeclarationProvider(ktModule: KtModule): KotlinDeclarationProvider? public companion object { public fun getInstance(project: Project): KotlinForwardDeclarationProviderFactory? = project.getService(KotlinForwardDeclarationProviderFactory::class.java) } } /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:57:40 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/DirectNodeInputUsingModelAction.java
public void execute(MutableModelNode modelNode, List<ModelView<?>> inputs) { action.execute(modelNode, Cast.<I>uncheckedCast(inputs.get(0).getInstance()), Cast.<J>uncheckedCast(inputs.get(1).getInstance()) ); } }; } @Override public void execute(MutableModelNode modelNode, T view, List<ModelView<?>> inputs) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.5K bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/lifetime/KaBaseLifetimeTracker.kt
val last = stack.last() check(last == session.token) lifetimeOwnersStack.set(stack.removeAt(stack.lastIndex)) } companion object { fun getInstance(project: Project): KaBaseLifetimeTracker = KaLifetimeTracker.getInstance(project) as? KaBaseLifetimeTracker ?: error("Expected ${KaBaseLifetimeTracker::class.simpleName} to be registered for ${KaLifetimeTracker::class.simpleName}.") }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 22:09:27 UTC 2024 - 1.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/KtFe10CliAnalysisSessionProvider.kt
internal class KaFe10SessionProvider(project: Project) : KaBaseSessionProvider(project) { override fun getAnalysisSession(useSiteKtElement: KtElement): KaSession { val facade = Fe10AnalysisFacade.getInstance(project) val token = tokenFactory.create(project, project.createProjectWideOutOfBlockModificationTracker()) val context = facade.getAnalysisContext(useSiteKtElement, token)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 1.7K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/packages/KotlinForwardDeclarationsPackageProviderFactory.kt
*/ public abstract fun createPackageProvider(ktModule: KtModule): KotlinPackageProvider? public companion object { public fun getInstance(project: Project): KotlinForwardDeclarationsPackageProviderFactory? = project.getService(KotlinForwardDeclarationsPackageProviderFactory::class.java) } } /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:57:40 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFileWriterContext.java
.replaceAll(SystemProperties.getInstance().getLineSeparator(), "\\\\" + SystemProperties.getInstance().getLineSeparator()) .replace("\'", "\\'")); write("\'"); return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
val trustStore = newEmptyKeyStore(keyStoreType) for (i in trustedCertificates.indices) { trustStore.setCertificateEntry("cert_$i", trustedCertificates[i]) } val factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()) factory.init(trustStore) val result = factory.trustManagers!! check(result.size == 1 && result[0] is X509TrustManager) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/packages/KotlinPackagePartProviderFactory.kt
*/ public abstract fun createPackagePartProvider(scope: GlobalSearchScope): PackagePartProvider public companion object { public fun getInstance(project: Project): KotlinPackagePartProviderFactory = project.getService(KotlinPackagePartProviderFactory::class.java) } } /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:57:40 UTC 2024 - 1.3K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinModificationTrackerFactory.kt
* * @see ModificationTracker */ public abstract fun createLibrariesWideModificationTracker(): ModificationTracker public companion object { public fun getInstance(project: Project): KotlinModificationTrackerFactory = project.getService(KotlinModificationTrackerFactory::class.java) } } /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:57:40 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/StructNodeInitializer.java
public void execute(MutableModelNode modelNode, List<ModelView<?>> modelViews) { ManagedProxyFactory proxyFactory = getInstance(modelViews.get(0), ManagedProxyFactory.class); TypeConverter typeConverter = getInstance(modelViews, 1, TypeConverter.class); for (StructSchema<?> viewSchema : bindings.getDeclaredViewSchemas()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.7K bytes - Viewed (0)