Top Description Fields Constructors Methods
org.glassfish.hk2.utilities

public Class UnqualifiedImpl

extends AnnotationLiteral<Unqualified>
implements Unqualified
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.api.Unqualified, java.lang.annotation.Annotation
Imports
java.lang.annotation.Annotation, java.util.Arrays, org.glassfish.hk2.api.AnnotationLiteral, .Unqualified

This is an implementation of Unqualified. It is here as a convenience for creating instances of this annotation where necessary
Author
jwells

Field Summary

Modifier and TypeField and Description
private static final long
private final Class<? extends Annotation>[]

Constructor Summary

AccessConstructor and Description
public
UnqualifiedImpl(Class<? extends Annotation>...
A list of qualifiers that must NOT be on injection point. A zero-length list indicates that no qualifier must be present on the matching service
value
)

Makes a copy of the annotation classes values and initializes this Unqualified annotation with those values

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Implements java.lang.annotation.Annotation.toString.

Returns a string representation of this annotation.

public Class<? extends Annotation>[]

Returns:

All annotations that must not be on the injected service. An empty list indicates that NO annotations must be on the injected service
value
()

Implements org.glassfish.hk2.api.Unqualified.value.

The set of annotations that must not be associated with the service being injected

Inherited from org.glassfish.hk2.api.AnnotationLiteral:
annotationTypeequalshashCode

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.glassfish.hk2.api.AnnotationLiteral.serialVersionUID.

valueback to summary
private final Class<? extends Annotation>[] value

Constructor Detail

UnqualifiedImplback to summary
public UnqualifiedImpl(Class<? extends Annotation>... value)

Makes a copy of the annotation classes values and initializes this Unqualified annotation with those values

Parameters
value:Class<? extends Annotation>[]

A list of qualifiers that must NOT be on injection point. A zero-length list indicates that no qualifier must be present on the matching service

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Implements java.lang.annotation.Annotation.toString.

Doc from java.lang.annotation.Annotation.toString.

Returns a string representation of this annotation. The details of the representation are implementation-dependent, but the following may be regarded as typical:

  @com.example.Name(first="Duke", middle="of", last="Java")
Annotations
@Override
valueback to summary
public Class<? extends Annotation>[] value()

Implements org.glassfish.hk2.api.Unqualified.value.

The set of annotations that must not be associated with the service being injected

Returns:Class<? extends Annotation>[]

All annotations that must not be on the injected service. An empty list indicates that NO annotations must be on the injected service

Annotations
@Override