CodeQL library for Java/Kotlin
codeql/java-all 0.9.0 (changelog, source)
Search

Class AndroidPermissionXmlAttribute

The attribute android:perrmission, android:readPermission, or android:writePermission.

Import path

import semmle.code.xml.AndroidManifest

Direct supertypes

Indirect supertypes

Predicates

isFull

Holds if this is an android:permission attribute.

isRead

Holds if this is an android:readPermission attribute.

isWrite

Holds if this is an android:writePermission attribute.

Inherited predicates

getElement

Gets the XML element to which this attribute belongs.

from XmlAttribute
getLocation

Gets the source location for this element.

from XmlLocatable
getName

Gets the name of this attribute.

from XmlAttribute
getNamespace

Gets the namespace of this attribute, if any.

from XmlAttribute
getValue

Gets the value of this attribute.

from XmlAttribute
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from XmlLocatable
hasNamespace

Holds if this attribute has a namespace.

from XmlAttribute
toString

Gets a printable representation of this XML attribute.

from XmlAttribute

Charpred