public class BeanAsAnnotation extends AbstractAnnotation
EMPTY_ANNOTATION, PROPERTY| Constructor and Description |
|---|
BeanAsAnnotation(java.lang.Object bean)
Create a new BeanAsAnnotation for a bean.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map |
getProperties()
Implement this to return the Map delegate.
|
protected boolean |
propertiesAllocated()
A convenience method to see if we have allocated the properties
Map.
|
asMap, containsProperty, equals, getProperty, hashCode, keys, removeProperty, setProperty, toStringaddChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic BeanAsAnnotation(java.lang.Object bean)
throws java.beans.IntrospectionException
bean - the JavaBean to viewjava.beans.IntrospectionException - if the bean could not be introspectedprotected final java.util.Map getProperties()
AbstractAnnotationLinkedHashMap or similar so properties are iterated in the order
they were added.getProperties in class AbstractAnnotationprotected final boolean propertiesAllocated()
AbstractAnnotationpropertiesAllocated in class AbstractAnnotation