org.yaml.snakeyaml.introspector
public class MethodProperty extends GenericProperty
A MethodProperty is a Property which is accessed
through accessor methods (setX, getX). It is possible to have a
MethodProperty which has only setter, only getter, or both. It
is not possible to have a MethodProperty which has neither
setter nor getter.
| Constructor and Description |
|---|
MethodProperty(PropertyDescriptor property) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(Object object) |
boolean |
isReadable() |
boolean |
isWritable() |
void |
set(Object object,
Object value) |
getActualTypeArgumentspublic MethodProperty(PropertyDescriptor property)
public boolean isWritable()
isWritable in class Propertypublic boolean isReadable()
isReadable in class PropertyCopyright © 2008–2015. All rights reserved.