In kythe/java/com/google/devtools/kythe/analyzers/java/KytheTreeScanner.java switch (classDef.getKind()) { should handle all cases, currently it doesn't handle 97 cases such as ANNOTATED_TYPE, ANNOTATION, TYPE_ANNOTATION, etc.