org.jboss.reflect.plugins
Class AnnotationValueFactory
java.lang.Object
org.jboss.reflect.plugins.AnnotationValueFactory
public class AnnotationValueFactory
- extends Object
The annotation value factory.
- Version:
- $Revision: 106445 $
- Author:
- Kabir Khan, Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationValueFactory
public AnnotationValueFactory()
createValue
public static Value createValue(AnnotationHelper annotationHelper,
TypeInfo type,
Object value)
- Create value.
- Parameters:
annotationHelper
- annotation helpertype
- the typevalue
- the raw value
- Returns:
- new value instance
createAnnotationValue
public static AnnotationValue createAnnotationValue(TypeInfoFactory typeInfoFactory,
AnnotationHelper annotationHelper,
AnnotationInfo info,
Object ann)
- Create annotation value.
- Parameters:
typeInfoFactory
- the type info factoryannotationHelper
- the annotation helperinfo
- the annotation infoann
- the actual annotation instance
- Returns:
- the annotation value instance
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.