Module org.bzdev.base
Package org.bzdev.obnaming.annotations
Annotation Type NamedObject.ConstrTypes
- Enclosing class:
- NamedObject
public static @interface NamedObject.ConstrTypes
Constructor types.
Provides information about the types of a constructor's arguments.
The use of this annotation requires a particular design pattern. Please see the extended description for a detailed description.
-
Element Details
-
value
String[] valueTypes for a constructor. The value is an array of strings, each providing the type of a constructor's arguments. The order is the same as the order of the constructor's arguments.- Returns:
- the types
- Default:
- {}
-
exceptions
String[] exceptionsExceptions a constructor may throw. The value is an array of strings, each containing the class name of an exception.- Returns:
- the exceptions
- Default:
- {}
-