Package org.mapstruct.ap.internal.util
Class AnnotationProcessorContext
- java.lang.Object
-
- org.mapstruct.ap.internal.util.AnnotationProcessorContext
-
- All Implemented Interfaces:
MapStructProcessingEnvironment
public class AnnotationProcessorContext extends Object implements MapStructProcessingEnvironment
Keeps contextual data in the scope of the entire annotation processor ("application scope").- Author:
- Gunnar Morling
-
-
Constructor Summary
Constructors Constructor Description AnnotationProcessorContext(Elements elementUtils, Types typeUtils, Messager messager, boolean disableBuilder, boolean verbose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessorNamingUtils
getAccessorNaming()
AccessorNamingStrategy
getAccessorNamingStrategy()
List<AstModifyingAnnotationProcessor>
getAstModifyingAnnotationProcessors()
BuilderProvider
getBuilderProvider()
Elements
getElementUtils()
Returns an implementation of some utility methods for operating on elementsEnumMappingStrategy
getEnumMappingStrategy()
Map<String,EnumTransformationStrategy>
getEnumTransformationStrategies()
Types
getTypeUtils()
Returns an implementation of some utility methods for operating on types.
-
-
-
Method Detail
-
getElementUtils
public Elements getElementUtils()
Description copied from interface:MapStructProcessingEnvironment
Returns an implementation of some utility methods for operating on elements- Specified by:
getElementUtils
in interfaceMapStructProcessingEnvironment
- Returns:
- element utilities
-
getTypeUtils
public Types getTypeUtils()
Description copied from interface:MapStructProcessingEnvironment
Returns an implementation of some utility methods for operating on types.- Specified by:
getTypeUtils
in interfaceMapStructProcessingEnvironment
- Returns:
- type utilities
-
getAstModifyingAnnotationProcessors
public List<AstModifyingAnnotationProcessor> getAstModifyingAnnotationProcessors()
-
getAccessorNaming
public AccessorNamingUtils getAccessorNaming()
-
getAccessorNamingStrategy
public AccessorNamingStrategy getAccessorNamingStrategy()
-
getEnumMappingStrategy
public EnumMappingStrategy getEnumMappingStrategy()
-
getBuilderProvider
public BuilderProvider getBuilderProvider()
-
getEnumTransformationStrategies
public Map<String,EnumTransformationStrategy> getEnumTransformationStrategies()
-
-