/** * Constructs a standard {@code Throws} annotation. * * @param types {@code non-null;} the list of thrown types * @return {@code non-null;} the annotation */ public static Annotation makeThrows(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(THROWS_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code Throws} annotation. * * @param types {@code non-null;} the list of thrown types * @return {@code non-null;} the annotation */ public static Annotation makeThrows(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(THROWS_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code MemberClasses} annotation. * * @param types {@code non-null;} the list of (the types of) the member classes * @return {@code non-null;} the annotation */ public static Annotation makeMemberClasses(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(MEMBER_CLASSES_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_UTF, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code Throws} annotation. * * @param types {@code non-null;} the list of thrown types * @return {@code non-null;} the annotation */ public static Annotation makeThrows(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(THROWS_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code MemberClasses} annotation. * * @param types {@code non-null;} the list of (the types of) the member classes * @return {@code non-null;} the annotation */ public static Annotation makeMemberClasses(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(MEMBER_CLASSES_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code MemberClasses} annotation. * * @param types {@code non-null;} the list of (the types of) the member classes * @return {@code non-null;} the annotation */ public static Annotation makeMemberClasses(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(MEMBER_CLASSES_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code MemberClasses} annotation. * * @param types {@code non-null;} the list of (the types of) the member classes * @return {@code non-null;} the annotation */ public static Annotation makeMemberClasses(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(MEMBER_CLASSES_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code Throws} annotation. * * @param types {@code non-null;} the list of thrown types * @return {@code non-null;} the annotation */ public static Annotation makeThrows(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(THROWS_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code MemberClasses} annotation. * * @param types {@code non-null;} the list of (the types of) the member classes * @return {@code non-null;} the annotation */ public static Annotation makeMemberClasses(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(MEMBER_CLASSES_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code MemberClasses} annotation. * * @param types {@code non-null;} the list of (the types of) the member classes * @return {@code non-null;} the annotation */ public static Annotation makeMemberClasses(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(MEMBER_CLASSES_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code MemberClasses} annotation. * * @param types {@code non-null;} the list of (the types of) the member classes * @return {@code non-null;} the annotation */ public static Annotation makeMemberClasses(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(MEMBER_CLASSES_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code Throws} annotation. * * @param types {@code non-null;} the list of thrown types * @return {@code non-null;} the annotation */ public static Annotation makeThrows(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(THROWS_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code MemberClasses} annotation. * * @param types {@code non-null;} the list of (the types of) the member classes * @return {@code non-null;} the annotation */ public static Annotation makeMemberClasses(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(MEMBER_CLASSES_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code Throws} annotation. * * @param types {@code non-null;} the list of thrown types * @return {@code non-null;} the annotation */ public static Annotation makeThrows(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(THROWS_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code Throws} annotation. * * @param types {@code non-null;} the list of thrown types * @return {@code non-null;} the annotation */ public static Annotation makeThrows(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(THROWS_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_STRING, array)); result.setImmutable(); return result; }
/** * Constructs a standard {@code Throws} annotation. * * @param types {@code non-null;} the list of thrown types * @return {@code non-null;} the annotation */ public static Annotation makeThrows(TypeList types) { CstArray array = makeCstArray(types); Annotation result = new Annotation(THROWS_TYPE, SYSTEM); result.put(new NameValuePair(VALUE_UTF, array)); result.setImmutable(); return result; }