Top Description Constructors Methods
org.yaml.snakeyaml.introspector

public Class MissingProperty

extends Property
Class Inheritance
Imports
java.lang.annotation.Annotation, java.util.Collections, .List

A property that does not map to a real property; this is used when PropertyUtils.setSkipMissingProperties(boolean) is set to true.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
public Class<?>[]
public <A extends Annotation> A
getAnnotation(Class<A>
the type of the annotation to be returned
annotationType
)

Implements abstract org.yaml.snakeyaml.introspector.Property.getAnnotation.

Returns property's annotation for the given type or null if it's not present.
public List<Annotation>
getAnnotations()

Implements abstract org.yaml.snakeyaml.introspector.Property.getAnnotations.

Returns the annotations that are present on this property or empty List if there're no annotations.
public void
set(Object object, Object value)

Implements abstract org.yaml.snakeyaml.introspector.Property.set.

Setter does nothing.
Inherited from org.yaml.snakeyaml.introspector.Property:
compareToequalsgetNamegetTypehashCodeisReadableisWritabletoString

Constructor Detail

MissingPropertyback to summary
public MissingProperty(String name)

Method Detail

getback to summary
public Object get(Object object)

Implements abstract org.yaml.snakeyaml.introspector.Property.get.

Annotations
@Override
getActualTypeArgumentsback to summary
public Class<?>[] getActualTypeArguments()

Implements abstract org.yaml.snakeyaml.introspector.Property.getActualTypeArguments.

Annotations
@Override
getAnnotationback to summary
public <A extends Annotation> A getAnnotation(Class<A> annotationType)

Implements abstract org.yaml.snakeyaml.introspector.Property.getAnnotation.

Doc from org.yaml.snakeyaml.introspector.Property.getAnnotation.

Returns property's annotation for the given type or null if it's not present.

Parameters
<A>
class of the annotation
annotationType:Class<A>

the type of the annotation to be returned

Returns:A

property's annotation for the given type or null if it's not present

Annotations
@Override
getAnnotationsback to summary
public List<Annotation> getAnnotations()

Implements abstract org.yaml.snakeyaml.introspector.Property.getAnnotations.

Doc from org.yaml.snakeyaml.introspector.Property.getAnnotations.

Returns the annotations that are present on this property or empty List if there're no annotations.

Returns:List<Annotation>

the annotations that are present on this property or empty List if there're no annotations

Annotations
@Override
setback to summary
public void set(Object object, Object value) throws Exception

Implements abstract org.yaml.snakeyaml.introspector.Property.set.

Setter does nothing.

Annotations
@Override