Class RestInjectAnnotation

java.lang.Object
org.apache.juneau.rest.annotation.RestInjectAnnotation

public class RestInjectAnnotation extends Object
Utility classes and methods for the RestInject annotation.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • create

      Instantiates a new builder for this class.
      Returns:
      A new builder object.
    • name

      public static String name(RestInject a)
      Pulls the name/value attribute from a RestInject annotation.
      Parameters:
      a - The annotation to check. Can be null.
      Returns:
      The annotation value, or an empty string if the annotation is null.