Package com.atlassian.bamboo.jsonator
Class DefaultIntrospector
java.lang.Object
com.atlassian.bamboo.jsonator.DefaultIntrospector
- All Implemented Interfaces:
Introspector
Used by the Jsonator. Allows creating JSON intelligently from java objects.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultIntrospector
getProperties
(@NotNull Object bean, @Nullable Class<? extends Annotation> annotationFilter) Return the properties of the bean as property names mapped to property value Objects.
-
Method Details
-
getInstance
-
getProperties
@NotNull public @NotNull Map<String,Object> getProperties(@NotNull @NotNull Object bean, @Nullable @Nullable Class<? extends Annotation> annotationFilter) Description copied from interface:Introspector
Return the properties of the bean as property names mapped to property value Objects.
Properties are defined by getter methods of the form getX or isX, with no parameters.- Specified by:
getProperties
in interfaceIntrospector
- Returns:
- map of property name Strings to property values.
-