private static Annotation getSignature(AttributeList attribs) {
    AttSignature signature = (AttSignature) attribs.findFirst(AttSignature.ATTRIBUTE_NAME);

    if (signature == null) {
      return null;
    }

    return AnnotationUtils.makeSignature(signature.getSignature());
  }
Gets the {@code Signature} attribute out of a given {@link AttributeList}, if any, translating
it to an annotation.

@param attribs {@code non-null;} the attributes list to search in
@return {@code null-ok;} the converted {@code Signature} annotation, if there was an attribute
    to translate
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/cf/AttributeTranslator.java