changes some internal modifiers to public for elements which are used outside their modules

This commit is contained in:
Michael Nedzelsky
2015-09-18 18:44:00 +03:00
parent 1afdb8d996
commit bcd85aa30d
3 changed files with 5 additions and 5 deletions
@@ -388,8 +388,8 @@ class LazyJavaTypeAttributes(
private fun hasAnnotation(fqName: FqName) = typeAnnotations.findAnnotation(fqName) != null
}
internal fun Annotations.isMarkedNotNull() = findAnnotation(JETBRAINS_NOT_NULL_ANNOTATION) != null
internal fun Annotations.isMarkedNullable() = findAnnotation(JETBRAINS_NULLABLE_ANNOTATION) != null
public fun Annotations.isMarkedNotNull() = findAnnotation(JETBRAINS_NOT_NULL_ANNOTATION) != null
public fun Annotations.isMarkedNullable() = findAnnotation(JETBRAINS_NULLABLE_ANNOTATION) != null
fun TypeUsage.toAttributes(
allowFlexible: Boolean = true,
@@ -40,7 +40,7 @@ private val TYPES_ELIGIBLE_FOR_SIMPLE_VISIT = setOf(
)
public class ReflectKotlinClass private constructor(
internal val klass: Class<*>,
public val klass: Class<*>,
private val classHeader: KotlinClassHeader
) : KotlinJvmBinaryClass {
+2 -2
View File
@@ -19,9 +19,9 @@ package kotlin.jvm
// is used in common generated code in stdlib
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CONSTRUCTOR)
@Retention(AnnotationRetention.SOURCE)
internal annotation class JvmOverloads
public annotation class JvmOverloads
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FILE)
@Retention(AnnotationRetention.RUNTIME)
@MustBeDocumented
internal annotation class JvmName(public val name: String)
public annotation class JvmName(public val name: String)