Improve javadoc for some addons (#15701)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
Holger Friedrich
2023-10-08 00:25:04 +02:00
committed by GitHub
parent f8bcfb0c7e
commit f24a4305b8
275 changed files with 547 additions and 406 deletions

View File

@@ -84,6 +84,8 @@ public abstract class AbstractHomekitAccessoryImpl implements HomekitAccessory {
/**
* Gives an accessory an opportunity to populate additional characteristics after all optional
* charactericteristics have been added.
*
* @throws HomekitException
*/
public void init() throws HomekitException {
}
@@ -333,6 +335,9 @@ public abstract class AbstractHomekitAccessoryImpl implements HomekitAccessory {
* of the caller to add characteristics when the primary service is created.
*
* @param characteristic
* @throws NoSuchMethodException
* @throws IllegalAccessException
* @throws InvocationTargetException
*/
@NonNullByDefault
public void addCharacteristic(Characteristic characteristic)