diff --git a/revapi-java/src/main/java/org/revapi/java/compilation/TypeTreeConstructor.java b/revapi-java/src/main/java/org/revapi/java/compilation/TypeTreeConstructor.java
index <HASH>..<HASH> 100644
--- a/revapi-java/src/main/java/org/revapi/java/compilation/TypeTreeConstructor.java
+++ b/revapi-java/src/main/java/org/revapi/java/compilation/TypeTreeConstructor.java
@@ -274,7 +274,7 @@ final class TypeTreeConstructor {
                 //when their classes are processed.
                 List<InnerClass> innerClassHierarchy = innerClassHierarchyConstructor.process();
                 if (innerClassHierarchy.isEmpty()) {
-                    LOG.error("Encountered inner class with no hierarchy: " + classBinaryName);
+                    //anonymous inner class most probably
                     return;
                 }
Don't barf on anonymous inner classes.