You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: annotationprocessor/src/main/java/com/quarkworks/android/realmtypesafequery/annotationprocessor/AnnotationProcessor.kt
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -172,18 +172,20 @@ class AnnotationProcessor : AbstractProcessor() {
172
172
if (element !isTypeElement) continue
173
173
174
174
val variableElements =ElementFilter.fieldsIn(element.enclosedElements)
175
+
val fieldSpecs =LinkedList<FieldSpec>()
176
+
177
+
for (realmField in variableElements) {
178
+
if (realmField.modifiers.contains(Modifier.STATIC)) continue
179
+
if (realmField.isAnnotatedWith(Ignore::class.java)) continue
180
+
if (realmField.isAnnotatedWith(SkipGenerationOfRealmField::class.java)) continue
175
181
176
-
// ignore static and @Ignore fields
177
-
val realmFieldClassFSpecs = variableElements.filter {
0 commit comments