public class AnnotationValueFactory extends Object
Constructor and Description |
---|
AnnotationValueFactory() |
Modifier and Type | Method and Description |
---|---|
static AnnotationValue |
createAnnotationValue(TypeInfoFactory typeInfoFactory,
AnnotationHelper annotationHelper,
AnnotationInfo info,
Object ann)
Create annotation value.
|
static Value |
createValue(AnnotationHelper annotationHelper,
TypeInfo type,
Object value)
Create value.
|
public static Value createValue(AnnotationHelper annotationHelper, TypeInfo type, Object value)
annotationHelper
- annotation helpertype
- the typevalue
- the raw valuepublic static AnnotationValue createAnnotationValue(TypeInfoFactory typeInfoFactory, AnnotationHelper annotationHelper, AnnotationInfo info, Object ann)
typeInfoFactory
- the type info factoryannotationHelper
- the annotation helperinfo
- the annotation infoann
- the actual annotation instanceCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.