public class ModelUtils extends Object
| Constructor and Description |
|---|
ModelUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Optional<AnnotationMirror> |
findAnnotationMirror(Element element,
String annotationClassName)
Returns an
AnnotationMirror for the annotation of type annotationClassName on
element, or Optional.absent() if no such annotation exists. |
public static com.google.common.base.Optional<AnnotationMirror> findAnnotationMirror(Element element, String annotationClassName)
AnnotationMirror for the annotation of type annotationClassName on
element, or Optional.absent() if no such annotation exists.Copyright © 2015 Google, Inc.. All rights reserved.