public interface PropertyAccessors
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotation) |
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JField> |
getField() |
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JMethod> |
getGetter() |
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JParameter> |
getParameter() |
String |
getPropertyName()
Returns the name of the property.
|
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JMethod> |
getSetter() |
<T extends Annotation> |
isAnnotationPresent(Class<T> annotation) |
<T extends Annotation> |
isAnnotationPresentOnField(Class<T> annotation) |
<T extends Annotation> |
isAnnotationPresentOnGetter(Class<T> annotation) |
<T extends Annotation> |
isAnnotationPresentOnSetter(Class<T> annotation) |
String getPropertyName()
JsonProperty.value(),
the name of a field or the name of a getter/setter method minus get/set.com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JField> getField()
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JMethod> getGetter()
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JMethod> getSetter()
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JParameter> getParameter()
<T extends Annotation> boolean isAnnotationPresentOnField(Class<T> annotation)
T - Type of the annotationannotation - annotation to find<T extends Annotation> boolean isAnnotationPresentOnGetter(Class<T> annotation)
T - Type of the annotationannotation - annotation to find<T extends Annotation> boolean isAnnotationPresentOnSetter(Class<T> annotation)
T - Type of the annotationannotation - annotation to find<T extends Annotation> boolean isAnnotationPresent(Class<T> annotation)
T - Type of the annotationannotation - annotation to find<T extends Annotation> com.google.gwt.thirdparty.guava.common.base.Optional<T> getAnnotation(Class<T> annotation)
T - Type of the annotationannotation - annotation to findCopyright © 2014. All Rights Reserved.