public void bind(Object object){
  Class<?> objectClass=object.getClass();
  while (objectClass != null && objectClass != Object.class) {
    BinderCache cache=classBinderCacheMap.get(objectClass);
    if (cache == null) {
      cache=createCache(objectClass);
      classBinderCacheMap.put(objectClass,cache);
    }
    bind(object,cache);
    objectClass=objectClass.getSuperclass();
  }
}

public void bind ( Object object ) { Class < ? > objectClass = object . getClass ( ) ; while ( objectClass != null && objectClass != Object . class ) { BinderCache cache = classBinderCacheMap . get ( objectClass ) ; if ( cache == null ) { cache = createCache ( objectClass ) ; classBinderCacheMap . put ( objectClass , cache ) ; } bind ( object , cache ) ; objectClass = objectClass . getSuperclass ( ) ; } }
bind all annotations for an object instance on all levels of inheritance .
