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