/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | JDiffXmlWriter.kt | 104 val modifiers = cls.modifiers in <lambda>() constant 106 writer.print(modifiers.isAbstract()) in <lambda>() 108 writer.print(modifiers.isStatic()) in <lambda>() 110 writer.print(modifiers.isFinal()) in <lambda>() 114 writer.print(modifiers.getVisibilityModifiers()) in <lambda>() 169 val modifiers = constructor.modifiers in <lambda>() constant 175 writer.print(modifiers.isStatic()) in <lambda>() 177 writer.print(modifiers.isFinal()) in <lambda>() 181 writer.print(modifiers.getVisibilityModifiers()) in <lambda>() 197 val modifiers = field.modifiers in <lambda>() constant [all …]
|
D | ProguardWriter.kt | 63 val modifiers = method.modifiers in visitMethod() constant 64 val visibilityLevel = modifiers.getVisibilityLevel() in visitMethod() 69 if (modifiers.isStatic()) { in visitMethod() 72 if (modifiers.isAbstract()) { in visitMethod() 75 if (modifiers.isSynchronized()) { in visitMethod() 104 val modifiers = field.modifiers in visitField() constant 105 val visibilityLevel = modifiers.getVisibilityLevel() in visitField() 110 if (modifiers.isStatic()) { in visitField() 113 if (modifiers.isTransient()) { in visitField() 116 if (modifiers.isVolatile()) { in visitField()
|
D | NullnessMigration.kt | 104 return item.modifiers.annotations().firstOrNull { it.isNullnessAnnotation() } in findNullnessAnnotation() 108 return item.modifiers.annotations().any { it.isNullable() } in isNullable() 112 return item.modifiers.annotations().any { it.isNonNull() } in isNonNull()
|
D | AnnotationsDiffer.kt | 80 val newModifiers = new.modifiers in <lambda>() 81 for (annotation in old.modifiers.annotations()) { in <lambda>()
|
D | SignatureWriter.kt | 105 !method.modifiers.isStatic() in <lambda>() 176 modifiers = item.modifiers, in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiPackageItem.kt | 28 modifiers: PsiModifierItem, 33 modifiers = modifiers, 137 val modifiers = modifiers(codebase, psiPackage, commentText) in create() constant 138 if (modifiers.isPackagePrivate()) { in create() 140 modifiers.setVisibilityLevel(VisibilityLevel.PUBLIC) in create() 149 modifiers = modifiers in create() 151 pkg.modifiers.setOwner(pkg) in create() 161 modifiers = PsiModifierItem.create(codebase, original.modifiers) in create() 163 pkg.modifiers.setOwner(pkg) in create()
|
D | PsiTypeParameterItem.kt | 30 modifiers: PsiModifierItem 40 modifiers = modifiers, 67 val modifiers = modifiers(codebase, psiClass, "") in create() constant 73 modifiers = modifiers in create() 75 item.modifiers.setOwner(item) in create()
|
D | PsiFieldItem.kt | 33 modifiers: PsiModifierItem, 41 modifiers = modifiers, 119 val modifiers = modifiers(codebase, psiField, commentText) in toString() constant 131 modifiers = modifiers, in toString() 136 field.modifiers.setOwner(field) in toString()
|
D | PsiItem.kt | 36 override val modifiers: PsiModifierItem, constant in com.android.tools.metalava.model.psi.PsiItem 41 override var deprecated: Boolean = modifiers.isDeprecated() 75 modifiers.hasHideAnnotations() in <lambda>() 78 …override var hidden: Boolean by LazyDelegate { originallyHidden && !modifiers.hasShowAnnotation() } in <lambda>() 94 override fun mutableModifiers(): MutableModifierList = modifiers in isCloned() 225 modifiers.setOwner(this) in finishInitialization() 267 fun modifiers( in modifiers() method
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | ApiFile.java | 190 TextModifiers modifiers = new TextModifiers(api, DefaultModifierList.PUBLIC, null); in parsePackage() local 192 modifiers.addAnnotations(annotations); in parsePackage() 210 pkg = new TextPackageItem(api, name, modifiers, tokenizer.pos()); in parsePackage() 217 name, pkg.getModifiers(), modifiers), tokenizer); in parsePackage() 251 TextModifiers modifiers = parseModifiers(api, tokenizer, token, annotations); in parseClass() local 258 modifiers.setAbstract(true); in parseClass() 262 modifiers.setAbstract(true); in parseClass() 267 modifiers.setFinal(true); in parseClass() 268 modifiers.setStatic(true); in parseClass() 293 cl = new TextClassItem(api, tokenizer.pos(), modifiers, isInterface, isEnum, isAnnotation, in parseClass() [all …]
|
D | TextPackageItem.kt | 25 modifiers: TextModifiers, 27 ) : TextItem(codebase, position, modifiers = modifiers), PackageItem { 29 modifiers.setOwner(this)
|
D | TextParameterItem.kt | 33 modifiers: TextModifiers, 37 : TextItem(codebase, position, modifiers = modifiers), ParameterItem { 40 modifiers.setOwner(this)
|
D | TextFieldItem.kt | 27 modifiers: TextModifiers, 31 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), FieldItem { 34 modifiers.setOwner(this) 59 modifiers.duplicate(), type, constantValue, position in hashCode()
|
D | TextMemberItem.kt | 27 override var modifiers: TextModifiers variable 28 ) : TextItem(codebase, position = position, modifiers = modifiers), MemberItem {
|
D | TextPropertyItem.kt | 27 modifiers: TextModifiers, 30 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), PropertyItem { 33 modifiers.setOwner(this)
|
D | TextMethodItem.kt | 34 modifiers: TextModifiers, 39 modifiers = modifiers 43 modifiers.setOwner(this) 138 modifiers.duplicate(), returnType, position in duplicate()
|
D | TextConstructorItem.kt | 25 modifiers: TextModifiers, 28 ) : TextMethodItem(codebase, name, containingClass, modifiers, returnType, position),
|
D | TextItem.kt | 27 override var modifiers: TextModifiers variable in com.android.tools.metalava.model.text.TextItem 37 override fun mutableModifiers(): MutableModifierList = modifiers
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | Item.kt | 41 val modifiers: ModifierList constant 163 fun hasShowAnnotation(): Boolean = modifiers.hasShowAnnotation() in isHiddenOrRemoved() 164 fun onlyShowForStubPurposes(): Boolean = modifiers.onlyShowForStubPurposes() in isHiddenOrRemoved() 165 fun hasHideAnnotation(): Boolean = modifiers.hasHideAnnotations() in isHiddenOrRemoved() 166 fun hasHideMetaAnnotation(): Boolean = modifiers.hasHideMetaAnnotations() in isHiddenOrRemoved() 189 return modifiers.checkLevel() in isHiddenOrRemoved() 254 val modifiers = mutableModifiers() in psi() constant 255 modifiers.removeAnnotation(annotation) in psi() 258 … modifiers.addAnnotation(codebase.createAnnotation("@$annotationClass", this, mapName = false)) in psi() 377 override val isPublic: Boolean get() = modifiers.isPublic() [all …]
|
D | MemberItem.kt | 38 return modifiers.isFinal() || containingClass().modifiers.isFinal() in name()
|
D | PropertyItem.kt | 53 return modifiers.hasNullnessInfo() in <lambda>()
|
D | ParameterItem.kt | 114 return modifiers.hasNullnessInfo() in hasNullnessInfo()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | RewriteAnnotationsTest.kt | 117 val modifiers = annotationClass.modifiers in Test rewriting the bytecode for one of the public annotations() constant 118 assertEquals(0, modifiers and Modifier.PUBLIC) in Test rewriting the bytecode for one of the public annotations() 154 val modifiers = annotationClass.modifiers in Test rewriting the bytecode for one of the public annotations in a jar file() constant 155 assertEquals(0, modifiers and Modifier.PUBLIC) in Test rewriting the bytecode for one of the public annotations in a jar file()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | AnnotationTargetTest.kt | 38 .filter { Modifier.isStatic(it.modifiers) } in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | StubWriter.kt | 118 val annotations = pkg.modifiers.annotations() in <lambda>() 133 list = pkg.modifiers, in <lambda>()
|