Class MutablePropertyImpl
java.lang.Object
io.determann.shadow.impl.property.MutablePropertyImpl
- All Implemented Interfaces:
ApiHolder,MutableProperty
-
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 geta method with the same name as the getter but "set" instead of "is" or "get", return type void and one parameter being the type of the return of the getterbased 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<MutableProperty>
-
Method Details
-
of
-
getApi
-
getSimpleName
Description copied from interface:MutablePropertybased 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 interfaceMutableProperty- See Also:
-
getType
Description copied from interface:MutablePropertyreturn type of getter- Specified by:
getTypein interfaceMutableProperty- See Also:
-
getField
Description copied from interface:MutablePropertyaFieldwith the name and tye of this property- Specified by:
getFieldin interfaceMutableProperty- See Also:
-
getFieldOrThrow
- Specified by:
getFieldOrThrowin interfaceMutableProperty- See Also:
-
getGetter
Description copied from interface:MutableProperty2 possible types of getters- return type boolean, name prefix "is" and no parameters
- name prefix is "get" and no parameters
- Specified by:
getGetterin interfaceMutableProperty
-
getSetter
Description copied from interface:MutablePropertya method with the same name as the getter but "set" instead of "is" or "get", return type void and one parameter being the type of the return of the getter- Specified by:
getSetterin interfaceMutableProperty- See Also:
-