1 package com.android.class2greylist; 2 3 import java.util.Map; 4 import java.util.Set; 5 6 public interface AnnotationConsumer { 7 /** 8 * Handle a parsed annotation for a class member. 9 * 10 * @param apiSignature Signature of the class member. 11 * @param annotationProperties Map of stringified properties of this annotation. 12 * @param parsedFlags Array of flags parsed from the annotation for this member. 13 */ consume(String apiSignature, Map<String, String> annotationProperties, Set<String> parsedFlags)14 public void consume(String apiSignature, Map<String, String> annotationProperties, 15 Set<String> parsedFlags); 16 close()17 public void close(); 18 } 19