/** * Adds a method annotations item to this instance. * * @param method {@code non-null;} method in question * @param annotations {@code non-null;} associated annotations to add */ public void addMethodAnnotations(CstMethodRef method, Annotations annotations) { if (methodAnnotations == null) { methodAnnotations = new ArrayList<MethodAnnotationStruct>(); } methodAnnotations.add(new MethodAnnotationStruct(method, new AnnotationSetItem(annotations))); }
/** * Adds a method annotations item to this instance. * * @param method {@code non-null;} method in question * @param annotations {@code non-null;} associated annotations to add * @param dexFile {@code non-null;} dex output */ public void addMethodAnnotations(CstMethodRef method, Annotations annotations, DexFile dexFile) { if (methodAnnotations == null) { methodAnnotations = new ArrayList<MethodAnnotationStruct>(); } methodAnnotations.add(new MethodAnnotationStruct(method, new AnnotationSetItem(annotations, dexFile))); }
/** * Adds a method annotations item to this instance. * * @param method {@code non-null;} method in question * @param annotations {@code non-null;} associated annotations to add * @param dexFile {@code non-null;} dex output */ public void addMethodAnnotations(CstMethodRef method, Annotations annotations, DexFile dexFile) { if (methodAnnotations == null) { methodAnnotations = new ArrayList<MethodAnnotationStruct>(); } methodAnnotations.add(new MethodAnnotationStruct(method, new AnnotationSetItem(annotations, dexFile))); }
/** * Adds a method annotations item to this instance. * * @param method {@code non-null;} method in question * @param annotations {@code non-null;} associated annotations to add * @param dexFile {@code non-null;} dex output */ public void addMethodAnnotations(CstMethodRef method, Annotations annotations, DexFile dexFile) { if (methodAnnotations == null) { methodAnnotations = new ArrayList<MethodAnnotationStruct>(); } methodAnnotations.add(new MethodAnnotationStruct(method, new AnnotationSetItem(annotations, dexFile))); }
/** * Adds a method annotations item to this instance. * * @param method {@code non-null;} method in question * @param annotations {@code non-null;} associated annotations to add */ public void addMethodAnnotations(CstMethodRef method, Annotations annotations) { if (methodAnnotations == null) { methodAnnotations = new ArrayList<MethodAnnotationStruct>(); } methodAnnotations.add(new MethodAnnotationStruct(method, new AnnotationSetItem(annotations))); }
/** * Adds a method annotations item to this instance. * * @param method {@code non-null;} method in question * @param annotations {@code non-null;} associated annotations to add */ public void addMethodAnnotations(CstMethodRef method, Annotations annotations) { if (methodAnnotations == null) { methodAnnotations = new ArrayList<MethodAnnotationStruct>(); } methodAnnotations.add(new MethodAnnotationStruct(method, new AnnotationSetItem(annotations))); }
/** * Adds a method annotations item to this instance. * * @param method {@code non-null;} method in question * @param annotations {@code non-null;} associated annotations to add * @param dexFile {@code non-null;} dex output */ public void addMethodAnnotations(CstMethodRef method, Annotations annotations, DexFile dexFile) { if (methodAnnotations == null) { methodAnnotations = new ArrayList<MethodAnnotationStruct>(); } methodAnnotations.add(new MethodAnnotationStruct(method, new AnnotationSetItem(annotations, dexFile))); }
/** * Adds a method annotations item to this instance. * * @param method {@code non-null;} method in question * @param annotations {@code non-null;} associated annotations to add */ public void addMethodAnnotations(CstMethodRef method, Annotations annotations) { if (methodAnnotations == null) { methodAnnotations = new ArrayList<MethodAnnotationStruct>(); } methodAnnotations.add(new MethodAnnotationStruct(method, new AnnotationSetItem(annotations))); }