code: private void scanAttributeForAnnotation(InputStream is)
      throws IOException
    {
      int nameIndex = readShort(is);
  
      // String name = _cp.getUtf8(nameIndex).getValue();
        
      int length = readInt(is);
  
      if (! isNameAnnotation(nameIndex)) {
        is.skip(length);
        return;
      }
        
      int count = readShort(is);
        
      for (int i = 0; i < count; i++) {
        int annTypeIndex = scanAnnotation(is);
        
        if (annTypeIndex > 0 && _cpLengths[annTypeIndex] > 2) {
          _matcher.addClassAnnotation(_charBuffer, 
                                      _cpData[annTypeIndex] + 1, 
                                      _cpLengths[annTypeIndex] - 2);
        }
      }
    }
docs: Parses an attribute for an annotation.