Home
last modified time | relevance | path

Searched refs:VisibilityLevel (Results 1 – 9 of 9) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DDefaultModifierList.kt52 override fun getVisibilityLevel(): VisibilityLevel { in getVisibilityLevel()
63 return getVisibilityLevel() == VisibilityLevel.PUBLIC in isPublic()
67 return getVisibilityLevel() == VisibilityLevel.PROTECTED in isProtected()
71 return getVisibilityLevel() == VisibilityLevel.PRIVATE in isPrivate()
146 override fun setVisibilityLevel(level: VisibilityLevel) { in setVisibilityLevel()
279 private val VISIBILITY_LEVEL_ENUMS = VisibilityLevel.values()
285 check(PRIVATE == VisibilityLevel.PRIVATE.ordinal) in <lambda>()
286 check(INTERNAL == VisibilityLevel.INTERNAL.ordinal) in <lambda>()
287 check(PACKAGE_PRIVATE == VisibilityLevel.PACKAGE_PRIVATE.ordinal) in <lambda>()
288 check(PROTECTED == VisibilityLevel.PROTECTED.ordinal) in <lambda>()
[all …]
DModifierList.kt35 fun getVisibilityLevel(): VisibilityLevel in <lambda>()
215 VisibilityLevel.PACKAGE_PRIVATE -> result && thisLevel != VisibilityLevel.INTERNAL in <lambda>()
216 VisibilityLevel.INTERNAL -> result && thisLevel != VisibilityLevel.PACKAGE_PRIVATE in <lambda>()
263 override fun getVisibilityLevel(): VisibilityLevel { in <lambda>()
264 … return if (addPublic) VisibilityLevel.PUBLIC else modifiers.getVisibilityLevel() in <lambda>()
308 if (visibilityLevel != VisibilityLevel.PACKAGE_PRIVATE) { in <lambda>()
DVisibilityLevel.kt24 enum class VisibilityLevel( class
DMutableModifierList.kt20 fun setVisibilityLevel(level: VisibilityLevel)
DItem.kt380 get() = modifiers.getVisibilityLevel() == VisibilityLevel.INTERNAL
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.java24 import com.android.tools.metalava.model.VisibilityLevel;
608 modifiers.setVisibilityLevel(VisibilityLevel.PUBLIC); in parseModifiers()
612 modifiers.setVisibilityLevel(VisibilityLevel.PROTECTED); in parseModifiers()
616 modifiers.setVisibilityLevel(VisibilityLevel.PRIVATE); in parseModifiers()
620 modifiers.setVisibilityLevel(VisibilityLevel.INTERNAL); in parseModifiers()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt30 import com.android.tools.metalava.model.VisibilityLevel in <lambda>()
500 method.mutableModifiers().setVisibilityLevel(VisibilityLevel.PUBLIC) in <lambda>()
505 m.setVisibilityLevel(VisibilityLevel.PUBLIC) in <lambda>()
DPsiPackageItem.kt21 import com.android.tools.metalava.model.VisibilityLevel
140 modifiers.setVisibilityLevel(VisibilityLevel.PUBLIC) in create()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt32 import com.android.tools.metalava.model.VisibilityLevel in <lambda>()
217 … val visibilityLevel = if (allPrivate) VisibilityLevel.PRIVATE else VisibilityLevel.PACKAGE_PRIVATE in <lambda>()