Modifier and Type | Method and Description |
---|---|
AnnotationInstance |
AnnotationValue.asNested()
Returns a nested annotation represented by this value.
|
AnnotationInstance[] |
AnnotationValue.asNestedArray()
Returns an array of nested annotations representing the underlying annotation array value.
|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
AnnotationValue[] values)
Construct a new mock annotation instance.
|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
List<AnnotationValue> values)
Construct a new mock annotation instance.
|
Modifier and Type | Method and Description |
---|---|
Map<DotName,List<AnnotationInstance>> |
ClassInfo.annotations() |
List<AnnotationInstance> |
CompositeIndex.getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.
|
Collection<AnnotationInstance> |
IndexView.getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.
|
List<AnnotationInstance> |
Index.getAnnotations(DotName annotationName)
Obtains a list of instances for the specified annotation.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationValue |
AnnotationValue.createNestedAnnotationValue(String name,
AnnotationInstance instance) |
Modifier and Type | Method and Description |
---|---|
static ClassInfo |
ClassInfo.create(DotName name,
DotName superName,
short flags,
DotName[] interfaces,
Map<DotName,List<AnnotationInstance>> annotations)
Constructs a "mock" ClassInfo using the passed values.
|
static Index |
Index.create(Map<DotName,List<AnnotationInstance>> annotations,
Map<DotName,List<ClassInfo>> subclasses,
Map<DotName,List<ClassInfo>> implementors,
Map<DotName,ClassInfo> classes)
Constructs a "mock" Index using the passed values.
|
Copyright © 2014 JBoss by Red Hat. All rights reserved.