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.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Exceptions a constructor may throw.
    Types for a constructor.
  • Element Details

    • value

      String[] value
      Types 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[] exceptions
      Exceptions a constructor may throw. The value is an array of strings, each containing the class name of an exception.
      Returns:
      the exceptions
      Default:
      {}