Class ImmutablePropertyImpl
java.lang.Object
io.determann.shadow.impl.property.ImmutablePropertyImpl
- All Implemented Interfaces:
ApiHolder,ImmutableProperty
-
Method Summary
Modifier and TypeMethodDescriptiongetApi()getField()aFieldwith the name and tye of this property2 possible types of getters return type boolean, name prefix "is" and no parameters name prefix is "get" and no parameters when both are present "is" is preferred over getbased on the name of the getter without the prefix. if one of the first 2 chars is uppercase the property name is not changed. otherwise the first char is converted to lowercasegetType()return type of getterstatic List<ImmutableProperty>
-
Method Details
-
of
-
getApi
-
getSimpleName
Description copied from interface:ImmutablePropertybased on the name of the getter without the prefix. if one of the first 2 chars is uppercase the property name is not changed. otherwise the first char is converted to lowercase- Specified by:
getSimpleNamein interfaceImmutableProperty- See Also:
-
getType
Description copied from interface:ImmutablePropertyreturn type of getter- Specified by:
getTypein interfaceImmutableProperty- See Also:
-
getField
Description copied from interface:ImmutablePropertyaFieldwith the name and tye of this property- Specified by:
getFieldin interfaceImmutableProperty- See Also:
-
getFieldOrThrow
- Specified by:
getFieldOrThrowin interfaceImmutableProperty- See Also:
-
getGetter
Description copied from interface:ImmutableProperty2 possible types of getters- return type boolean, name prefix "is" and no parameters
- name prefix is "get" and no parameters
- Specified by:
getGetterin interfaceImmutableProperty
-