public class JSR330QualifyingMetadata extends Object implements QualifyingMetadata
Constructor and Description |
---|
JSR330QualifyingMetadata(Collection<Annotation> qualifiers) |
Modifier and Type | Method and Description |
---|---|
static JSR330QualifyingMetadata |
createFromAnnotations(Annotation[] annotations)
Extract qualifiers from annotations.
|
static Set<Annotation> |
createSetFromAnnotations(Annotation[] annotations) |
boolean |
doesSatisfy(QualifyingMetadata metadata) |
boolean |
equals(Object obj) |
QualifyingMetadata |
filter(Annotation annotation)
Return a copy of this object with the given annotation filtered out.
|
Annotation[] |
getQualifiers() |
int |
hashCode() |
Statement |
render() |
String |
toString() |
public JSR330QualifyingMetadata(Collection<Annotation> qualifiers)
public Statement render()
render
in interface QualifyingMetadata
public boolean doesSatisfy(QualifyingMetadata metadata)
doesSatisfy
in interface QualifyingMetadata
public static JSR330QualifyingMetadata createFromAnnotations(Annotation[] annotations)
Any
is not implicitly added.annotations
- The annotations from a observer, injection point, or beanpublic static Set<Annotation> createSetFromAnnotations(Annotation[] annotations)
public Annotation[] getQualifiers()
getQualifiers
in interface QualifyingMetadata
public QualifyingMetadata filter(Annotation annotation)
QualifyingMetadata
filter
in interface QualifyingMetadata
annotation
- A qualifier to be filtered out.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.