mdepies
01/08/2020, 2:13 AMamanda.hinchman-dominguez
01/08/2020, 2:18 AMmdepies
01/08/2020, 2:19 AM+irClass {
val message = it.annotations.map { it.descriptor.returnType }
messageCollector?.report(CompilerMessageSeverity.STRONG_WARNING, "${it.name} ${it.properties.map { it.descriptor }.joinToString(",")}")
null
}
amanda.hinchman-dominguez
01/08/2020, 2:46 AMmdepies
01/08/2020, 2:46 AMraulraja
01/08/2020, 8:16 AMraulraja
01/08/2020, 8:17 AMraulraja
01/08/2020, 8:18 AMraulraja
01/08/2020, 8:18 AMraulraja
01/08/2020, 8:32 AMirProperty {
it.descriptor.annotations //these should be the property descriptors
it
}
raulraja
01/08/2020, 8:34 AMraulraja
01/08/2020, 8:34 AMval result: IrFieldSymbol = backendContext.ir.symbols.externalSymbolTable.referenceField(descriptor)
amanda.hinchman-dominguez
01/08/2020, 2:52 PM+irClass {
val message = it.annotations.map { it.descriptor.returnType }
messageCollector?.report(CompilerMessageSeverity.STRONG_WARNING, "${it.name} ${it.properties.map { it.descriptor }.joinToString(",")}")
null
}
was just accessing the annotations for the irClass
?mdepies
01/08/2020, 2:52 PMamanda.hinchman-dominguez
01/08/2020, 2:53 PMmdepies
01/08/2020, 2:53 PMmdepies
01/08/2020, 3:31 PMamanda.hinchman-dominguez
01/08/2020, 3:32 PMmdepies
01/08/2020, 3:33 PMirProperty {
//these should be the property descriptors
messageCollector?.report(CompilerMessageSeverity.STRONG_WARNING, "${it.name} - ${it.descriptor.annotations.isEmpty() }")
messageCollector?.report(CompilerMessageSeverity.STRONG_WARNING, "${it.name} Field - ${backendContext.ir.symbols.externalSymbolTable.referenceField(it.descriptor).descriptor.annotations.isEmpty() }")
it
}
amanda.hinchman-dominguez
01/08/2020, 4:27 PMamanda.hinchman-dominguez
01/08/2020, 4:28 PMmdepies
01/08/2020, 4:41 PMmdepies
01/08/2020, 4:41 PMraulraja
01/08/2020, 8:37 PMraulraja
01/08/2020, 8:38 PMmdepies
01/08/2020, 8:38 PMmdepies
01/08/2020, 8:38 PMraulraja
01/08/2020, 8:40 PMamanda.hinchman-dominguez
01/09/2020, 3:34 PMamanda.hinchman-dominguez
01/09/2020, 3:36 PMraulraja
01/09/2020, 3:57 PM