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
-
-
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()
Map<String,String>
getOptions()
Returns the resolved options specified by the impl ofAdditionalSupportedOptionsProvider
.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()
-
getOptions
public Map<String,String> getOptions()
Description copied from interface:MapStructProcessingEnvironment
Returns the resolved options specified by the impl ofAdditionalSupportedOptionsProvider
.- Specified by:
getOptions
in interfaceMapStructProcessingEnvironment
- Returns:
- resolved options
-
-