Class Context
java.lang.Object
online.sharedtype.processor.context.Context
Annotation processing context state and utils.
- Author:
- Cause Chung
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSourceOutput(String filename) voidextractTagLiterals(Element element) getTypeQualifiedName(DeclaredType typeMirror) voidvoidbooleanisAnnotatedAsEnumValue(Element element) booleanisArraylike(TypeMirror typeMirror) booleanisDatetimelike(TypeMirror typeMirror) booleanisEnumType(TypeMirror typeMirror) booleanisExplicitAccessor(ExecutableElement element) booleanbooleanisMaplike(TypeMirror typeMirror) booleanisOptionalAnnotated(Element element) booleanisOptionalType(String qualifiedName) booleanisTopArrayType(TypeMirror typeMirror) Check if the type is directly the same type as one of the defined arraylike typesvoidvoid
-
Constructor Details
-
Method Details
-
info
-
warn
-
error
-
info
-
warn
-
isArraylike
-
isTopArrayType
Check if the type is directly the same type as one of the defined arraylike types -
isMaplike
-
isDatetimelike
-
isEnumType
-
isIgnored
-
isOptionalAnnotated
-
isOptionalType
-
isExplicitAccessor
-
isAnnotatedAsEnumValue
-
extractTagLiterals
-
getTypeQualifiedName
-
createSourceOutput
- Throws:
IOException
-