Annotation Interface ModuleDefinition


@Target(TYPE) @Retention(RUNTIME) public @interface ModuleDefinition
Defines an exposed module. Used within the ElementService annotation.
  • Element Details

    • value

      String value
      The name of the module to expose.
      Returns:
      the name.
    • style

      CodeStyle style
      When binding to the underlying language, this defines the case format
      Returns:
      the method case format
      Default:
      @dev.getelements.elements.rt.annotation.CodeStyle
    • annotation

      Specifies the binding Annotation for the module.
      Returns:
      the ExposedBindingAnnotation
      Default:
      @dev.getelements.elements.rt.annotation.ExposedBindingAnnotation
    • deprecated

      Indicates that importing this particular module is deprecated.
      Returns:
      the DeprecationDefinition containing specific deprecation information.
      Default:
      @dev.getelements.elements.rt.annotation.DeprecationDefinition(deprecated=false)