public static Annotation makeEnclosingClass(CstType clazz) {
    Annotation result = new Annotation(ENCLOSING_CLASS_TYPE, SYSTEM);

    result.put(new NameValuePair(VALUE_STRING, clazz));
    result.setImmutable();
    return result;
  }
Constructs a standard {@code EnclosingClass} annotation.

@param clazz {@code non-null;} the enclosing class
@return {@code non-null;} the annotation
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/AnnotationUtils.java