diff --git a/liquibase-core/src/main/java/liquibase/structure/AbstractDatabaseObject.java b/liquibase-core/src/main/java/liquibase/structure/AbstractDatabaseObject.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/structure/AbstractDatabaseObject.java
+++ b/liquibase-core/src/main/java/liquibase/structure/AbstractDatabaseObject.java
@@ -72,11 +72,13 @@ public abstract class AbstractDatabaseObject implements DatabaseObject {
     }
 
     @Override
+    @SuppressWarnings("unchecked")
     public <T> T getAttribute(String attribute, Class<T> type) {
         return (T) attributes.get(attribute);
     }
 
     @Override
+    @SuppressWarnings("unchecked")
     public <T> T getAttribute(String attribute, T defaultValue) {
         T value = (T) attributes.get(attribute);
         if (value == null) {
CLEANUP: Add SuppressWarnings("unchecked") because the possibility of a ClassCastException is expected and documented in the interface