Class AbstractValueExtractor<W>
java.lang.Object
org.hibernate.models.internal.jandex.AbstractValueExtractor<W>
- All Implemented Interfaces:
ValueExtractor<org.jboss.jandex.AnnotationInstance,W>
- Direct Known Subclasses:
ArrayValueExtractor,BooleanValueExtractor,ByteValueExtractor,CharacterValueExtractor,ClassValueExtractor,DoubleValueExtractor,EnumValueExtractor,FloatValueExtractor,IntegerValueExtractor,LongValueExtractor,NestedValueExtractor,ShortValueExtractor,StringValueExtractor
public abstract class AbstractValueExtractor<W>
extends Object
implements ValueExtractor<org.jboss.jandex.AnnotationInstance,W>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract WextractAndWrap(org.jboss.jandex.AnnotationValue jandexValue, AnnotationTarget target, SourceModelBuildingContext buildingContext) extractValue(org.jboss.jandex.AnnotationInstance annotation, String attributeName, AnnotationTarget target, SourceModelBuildingContext buildingContext) Extract the value of the named attribute from the given annotationprotected org.jboss.jandex.AnnotationValueresolveAnnotationValue(org.jboss.jandex.AnnotationInstance annotation, String attributeName, SourceModelBuildingContext buildingContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.models.spi.ValueExtractor
extractValue
-
Constructor Details
-
AbstractValueExtractor
public AbstractValueExtractor()
-
-
Method Details
-
extractAndWrap
protected abstract W extractAndWrap(org.jboss.jandex.AnnotationValue jandexValue, AnnotationTarget target, SourceModelBuildingContext buildingContext) -
extractValue
public W extractValue(org.jboss.jandex.AnnotationInstance annotation, String attributeName, AnnotationTarget target, SourceModelBuildingContext buildingContext) Description copied from interface:ValueExtractorExtract the value of the named attribute from the given annotation- Specified by:
extractValuein interfaceValueExtractor<org.jboss.jandex.AnnotationInstance,W>
-
resolveAnnotationValue
protected org.jboss.jandex.AnnotationValue resolveAnnotationValue(org.jboss.jandex.AnnotationInstance annotation, String attributeName, SourceModelBuildingContext buildingContext)
-