public final class PropertyAccessors extends Object
PropertyAccessors class.
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotation)
getAnnotation
|
<T extends Annotation> |
getAnnotation(String annotation)
getAnnotation
|
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JField> |
getField()
Getter for the field
field. |
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JMethod> |
getGetter()
Getter for the field
getter. |
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JParameter> |
getParameter()
Getter for the field
parameter. |
String |
getPropertyName()
Getter for the field
propertyName. |
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JMethod> |
getSetter()
Getter for the field
setter. |
<T extends Annotation> |
isAnnotationPresentOnField(Class<T> annotation)
isAnnotationPresentOnField
|
<T extends Annotation> |
isAnnotationPresentOnGetter(Class<T> annotation)
isAnnotationPresentOnGetter
|
<T extends Annotation> |
isAnnotationPresentOnSetter(Class<T> annotation)
isAnnotationPresentOnSetter
|
public String getPropertyName()
Getter for the field propertyName.
String object.public com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JField> getField()
Getter for the field field.
Optional object.public com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JMethod> getGetter()
Getter for the field getter.
Optional object.public com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JMethod> getSetter()
Getter for the field setter.
Optional object.public com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JParameter> getParameter()
Getter for the field parameter.
Optional object.public <T extends Annotation> boolean isAnnotationPresentOnField(Class<T> annotation)
isAnnotationPresentOnField
T - the typeannotation - a Class object.public <T extends Annotation> boolean isAnnotationPresentOnGetter(Class<T> annotation)
isAnnotationPresentOnGetter
T - the typeannotation - a Class object.public <T extends Annotation> boolean isAnnotationPresentOnSetter(Class<T> annotation)
isAnnotationPresentOnSetter
T - the typeannotation - a Class object.public <T extends Annotation> com.google.gwt.thirdparty.guava.common.base.Optional<T> getAnnotation(String annotation)
getAnnotation
T - the typeannotation - a String object.Optional object.public <T extends Annotation> com.google.gwt.thirdparty.guava.common.base.Optional<T> getAnnotation(Class<T> annotation)
getAnnotation
T - the typeannotation - a Class object.Optional object.Copyright © 2017. All Rights Reserved.