Cleanup: get rid of effective visibility warnings
This commit is contained in:
committed by
Mikhail Glukhikh
parent
932542891b
commit
f8a70302ac
@@ -27,7 +27,7 @@ import org.jetbrains.kotlin.kdoc.psi.api.KDoc;
|
||||
import org.jetbrains.kotlin.psi.findDocComment.FindDocCommentKt;
|
||||
import org.jetbrains.kotlin.psi.stubs.KotlinClassOrObjectStub;
|
||||
|
||||
abstract class KtDeclarationStub<T extends StubElement<?>> extends KtModifierListOwnerStub<T> implements KtDeclaration {
|
||||
public abstract class KtDeclarationStub<T extends StubElement<?>> extends KtModifierListOwnerStub<T> implements KtDeclaration {
|
||||
private long modificationStamp = 0;
|
||||
|
||||
public KtDeclarationStub(@NotNull T stub, @NotNull IStubElementType nodeType) {
|
||||
|
||||
+1
-1
@@ -845,7 +845,7 @@ private fun getReceiverExpressionType(resolvedCall: ResolvedCall<*>): KotlinType
|
||||
}
|
||||
}
|
||||
|
||||
private class CompileTimeType<T>
|
||||
internal class CompileTimeType<T>
|
||||
|
||||
internal val BYTE = CompileTimeType<Byte>()
|
||||
internal val SHORT = CompileTimeType<Short>()
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ public class LockBasedLazyResolveStorageManager(private val storageManager: Stor
|
||||
override fun <K, V : Any> createSoftlyRetainedMemoizedFunctionWithNullableValues(compute: Function1<K, V>) =
|
||||
storageManager.createMemoizedFunctionWithNullableValues<K, V>(compute, ContainerUtil.createConcurrentSoftValueMap<K, Any>())
|
||||
|
||||
override fun createSafeTrace(originalTrace: BindingTrace) =
|
||||
override fun createSafeTrace(originalTrace: BindingTrace): BindingTrace =
|
||||
LockProtectedTrace(storageManager, originalTrace)
|
||||
|
||||
private class LockProtectedContext(private val storageManager: StorageManager, private val context: BindingContext) : BindingContext {
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ package org.jetbrains.kotlin.types.expressions;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.kotlin.psi.KtVisitor;
|
||||
|
||||
/*package*/ abstract class ExpressionTypingVisitor extends KtVisitor<JetTypeInfo, ExpressionTypingContext> {
|
||||
public abstract class ExpressionTypingVisitor extends KtVisitor<JetTypeInfo, ExpressionTypingContext> {
|
||||
|
||||
protected final ExpressionTypingInternals facade;
|
||||
protected final ExpressionTypingComponents components;
|
||||
|
||||
@@ -73,7 +73,7 @@ public abstract class PerformanceCounter protected constructor(val name: String)
|
||||
}
|
||||
}
|
||||
|
||||
protected val excludedFrom: MutableList<CounterWithExclude> = ArrayList()
|
||||
internal val excludedFrom: MutableList<CounterWithExclude> = ArrayList()
|
||||
|
||||
private var count: Int = 0
|
||||
private var totalTimeNanos: Long = 0
|
||||
@@ -167,7 +167,7 @@ private class ReenterableCounter(name: String): PerformanceCounter(name) {
|
||||
*
|
||||
* Main and excluded methods may be reenterable.
|
||||
*/
|
||||
private class CounterWithExclude(name: String, vararg excludedCounters: PerformanceCounter): PerformanceCounter(name) {
|
||||
internal class CounterWithExclude(name: String, vararg excludedCounters: PerformanceCounter): PerformanceCounter(name) {
|
||||
companion object {
|
||||
private val counterToCallStackMapThreadLocal = ThreadLocal<MutableMap<CounterWithExclude, CallStackWithTime>>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user