public class MissingProperty extends Property
PropertyUtils.setSkipMissingProperties(boolean) is set to true.| Constructor and Description |
|---|
MissingProperty(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.Object object) |
java.lang.Class<?>[] |
getActualTypeArguments() |
<A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> annotationType)
Returns property's annotation for the given type or
null if it's not present. |
java.util.List<java.lang.annotation.Annotation> |
getAnnotations()
Returns the annotations that are present on this property or empty
List if there're no
annotations. |
void |
set(java.lang.Object object,
java.lang.Object value)
Setter does nothing.
|
compareTo, equals, getName, getType, hashCode, isReadable, isWritable, toStringpublic java.lang.Class<?>[] getActualTypeArguments()
getActualTypeArguments in class Propertypublic void set(java.lang.Object object,
java.lang.Object value)
throws java.lang.Exception
public java.util.List<java.lang.annotation.Annotation> getAnnotations()
PropertyList if there're no
annotations.getAnnotations in class PropertyList if there're no
annotationspublic <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
Propertynull if it's not present.getAnnotation in class PropertyA - class of the annotationannotationType - the type of the annotation to be returnednull if it's not present