Home
last modified time | relevance | path

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

/frameworks/base/tools/xmlpersistence/src/main/kotlin/
DParser.kt113 private fun parsePersistenceInfo(classDeclaration: ClassOrInterfaceDeclaration): PersistenceInfo? { in parsePersistenceInfo()
114 val annotation = classDeclaration.getAnnotationByName("XmlPersistence").getOrNull() in parsePersistenceInfo()
116 val rootClassName = classDeclaration.nameAsString in parsePersistenceInfo()
119 val rootXmlName = classDeclaration.getAnnotationByName("XmlName").getOrNull() in parsePersistenceInfo()
122 rootXmlName ?: rootClassName, rootXmlName, true, classDeclaration in parsePersistenceInfo()
124 val path = classDeclaration.findCompilationUnit().get().storage.get().path in parsePersistenceInfo()
133 classDeclaration: ClassOrInterfaceDeclaration in parseClassFieldInfo()
135 val fields = classDeclaration.fields.filterNot { it.isStatic }.map { parseFieldInfo(it) } in parseClassFieldInfo()
136 val type = classDeclaration.resolve().typeName in parseClassFieldInfo()
169 "(element)", xmlName, true, elementType.classDeclaration in parseFieldInfo()
[all …]