public interface PropertyAccessors
| Modifier and Type | Method and Description |
|---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.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() |
java.lang.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 java.lang.annotation.Annotation> |
isAnnotationPresent(java.lang.Class<T> annotation) |
<T extends java.lang.annotation.Annotation> |
isAnnotationPresentOnField(java.lang.Class<T> annotation) |
<T extends java.lang.annotation.Annotation> |
isAnnotationPresentOnGetter(java.lang.Class<T> annotation) |
<T extends java.lang.annotation.Annotation> |
isAnnotationPresentOnSetter(java.lang.Class<T> annotation) |
java.lang.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 java.lang.annotation.Annotation> boolean isAnnotationPresentOnField(java.lang.Class<T> annotation)
T - Type of the annotationannotation - annotation to find<T extends java.lang.annotation.Annotation> boolean isAnnotationPresentOnGetter(java.lang.Class<T> annotation)
T - Type of the annotationannotation - annotation to find<T extends java.lang.annotation.Annotation> boolean isAnnotationPresentOnSetter(java.lang.Class<T> annotation)
T - Type of the annotationannotation - annotation to find<T extends java.lang.annotation.Annotation> boolean isAnnotationPresent(java.lang.Class<T> annotation)
T - Type of the annotationannotation - annotation to find<T extends java.lang.annotation.Annotation> com.google.gwt.thirdparty.guava.common.base.Optional<T> getAnnotation(java.lang.Class<T> annotation)
T - Type of the annotationannotation - annotation to findCopyright © 2014. All Rights Reserved.