package org.robobinding.codegen.viewbinding;
import java.util.List;
import org.robobinding.codegen.apt.element.WrappedAnnotationMirror;
import org.robobinding.util.Lists;
/**
* @since 1.0
* @author Cheng Wei
*
*/
public class ViewBindingAnnotationMirror {
private final WrappedAnnotationMirror annotationMirror;
public ViewBindingAnnotationMirror(WrappedAnnotationMirror annotationMirror) {
this.annotationMirror = annotationMirror;
}
public List<String> getSimpleOneWayProperties() {
List<String> simpleOneWayProperties = annotationMirror.annotationValueAsList("simpleOneWayProperties");
if(simpleOneWayProperties == null) {
return Lists.newArrayList();
}
return simpleOneWayProperties;
}
}