private void scanAttributeForAnnotation(InputStream is) throws IOException {
  int nameIndex=readShort(is);
  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);
    }
  }
}

private void scanAttributeForAnnotation ( InputStream is ) throws IOException { int nameIndex = readShort ( is ) ; 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 ) ; } } }
parses an attribute for an annotation .
