Class RestInjectAnnotation
java.lang.Object
org.apache.juneau.rest.annotation.RestInjectAnnotation
Utility classes and methods for the
RestInject annotation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceA collection of@RestInject annotations.static classBuilder class. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RestInjectAnnotation.Buildercreate()Instantiates a new builder for this class.static Stringname(RestInject a) Pulls the name/value attribute from aRestInjectannotation.
-
Field Details
-
DEFAULT
Default value
-
-
Constructor Details
-
RestInjectAnnotation
public RestInjectAnnotation()
-
-
Method Details
-
create
Instantiates a new builder for this class.- Returns:
- A new builder object.
-
name
Pulls the name/value attribute from aRestInjectannotation.- Parameters:
a- The annotation to check. Can benull .- Returns:
- The annotation value, or an empty string if the annotation is
null .
-