Skip to content

Commit 8dd3626

Browse files
committed
Added new util tools ( isColumn() )
1 parent b2acd5d commit 8dd3626

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<resources>
22
<string name="app_name">DemoApp</string>
3-
<string name="my_name">Amiraslan</string>
3+
<string name="my_name">BiAtoms SQLiteManager</string>
44
</resources>

sqlitemanager/src/main/java/com/sqlitemanager/Utils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,8 @@ static <T extends Tableable> SqlResponse readingSwitchAction(String simpleNameOf
126126
return SqlResponse.Successful;
127127
}
128128

129+
static boolean isColumn(Field field) {
130+
return field.isAnnotationPresent(Column.class);
131+
}
132+
129133
}

0 commit comments

Comments
 (0)