processor-java
Module Contents
alltypes
Module Contents
abstract
class
AbstractAccessorWriter
Module Contents
AbstractAccessorWriter
(
elementUtils
:
Elements
,
typeUtils
:
Types
,
options
:
Options
)
const
val
COMMENT_ACCESS_FLAGS
:
String
val
elementUtils
:
Elements
const
val
ERROR_MESSAGE_ILLEGAL_ACCESS
:
String
fun
extractLocation
(
element
:
Element
)
:
Array
<
String
>
const
val
GENERATED_CLASS_SUFFIX
:
String
fun
nameForGeneratedClassFrom
(
enclosingClassSimpleNames
:
List
<
String
>
)
:
String
val
options
:
Options
const
val
PARAMETER_NAME_NEW_VALUE
:
String
fun
Element
.
toLoadableClassString
(
)
:
String
const
val
TYPE_NAME_VALUE
:
String
val
typeUtils
:
Types
abstract
fun
writeAccessorClass
(
annotatedElements
:
Set
<
Element
>
,
filer
:
Filer
)
:
Unit
abstract
class
AnnotationProcessor
:
AbstractProcessor
,
Options
Module Contents
AnnotationProcessor
(
annotationClass
:
Class
<
out
Annotation
>
)
val
annotationClass
:
Class
<
out
Annotation
>
open
fun
defaultAndroidXRestrictTo
(
)
:
Iterable
<
Scope
>
open
fun
defaultSupportRestrictTo
(
)
:
Iterable
<
Scope
>
lateinit
var
elementUtils
:
Elements
lateinit
var
filer
:
Filer
open
fun
getSupportedAnnotationTypes
(
)
:
Set
<
String
!
>
open
fun
getSupportedOptions
(
)
:
Set
<
String
>
open
fun
getSupportedSourceVersion
(
)
:
SourceVersion
@Synchronized
open
fun
init
(
processingEnvironment
:
ProcessingEnvironment
)
:
Unit
lateinit
var
messager
:
Messager
lateinit
var
options
:
Map
<
String
,
String
>
open
fun
requiredClasses
(
)
:
List
<
String
>
lateinit
var
typeUtils
:
Types
abstract
class
AnnotationVerifier
<
Annotation
:
Annotation
>
Module Contents
AnnotationVerifier
(
logger
:
Logger
)
abstract
fun
annotationClass
(
)
:
Class
<
Annotation
>
val
logger
:
Logger
abstract
fun
verify
(
element
:
Element
,
annotation
:
Annotation
=
element.getAnnotation<Annotation>(annotationClass())
)
:
Boolean
class
Logger
Module Contents
Logger
(
messager
:
Messager
)
fun
error
(
message
:
CharSequence
,
culprit
:
Element
?
=
null
)
:
Unit
fun
warn
(
message
:
CharSequence
,
culprit
:
Element
?
=
null
)
:
Unit
interface
Options
Module Contents
abstract
fun
defaultAndroidXRestrictTo
(
)
:
Iterable
<
Scope
>
abstract
fun
defaultSupportRestrictTo
(
)
:
Iterable
<
Scope
>
abstract
fun
requiredClasses
(
)
:
List
<
String
>
class
RequiresAccessorAnnotationVerifier
:
AnnotationVerifier
<
RequiresAccessor
>
Module Contents
RequiresAccessorAnnotationVerifier
(
logger
:
Logger
)
fun
annotationClass
(
)
:
Class
<
RequiresAccessor
>
fun
verify
(
element
:
Element
,
annotation
:
RequiresAccessor
)
:
Boolean
class
RequiresAccessorProcessor
:
AnnotationProcessor
Module Contents
RequiresAccessorProcessor
(
)
fun
process
(
typeElements
:
Set
<
TypeElement
>
,
roundEnvironment
:
RoundEnvironment
)
:
Boolean
package
testaccessors.internal
Module Contents
class
RequiresAccessorProcessor
:
AnnotationProcessor
Module Contents
RequiresAccessorProcessor
(
)
fun
process
(
typeElements
:
Set
<
TypeElement
>
,
roundEnvironment
:
RoundEnvironment
)
:
Boolean
package
testaccessors.internal.base
Module Contents
abstract
class
AbstractAccessorWriter
Module Contents
AbstractAccessorWriter
(
elementUtils
:
Elements
,
typeUtils
:
Types
,
options
:
Options
)
const
val
COMMENT_ACCESS_FLAGS
:
String
val
elementUtils
:
Elements
const
val
ERROR_MESSAGE_ILLEGAL_ACCESS
:
String
fun
extractLocation
(
element
:
Element
)
:
Array
<
String
>
const
val
GENERATED_CLASS_SUFFIX
:
String
fun
nameForGeneratedClassFrom
(
enclosingClassSimpleNames
:
List
<
String
>
)
:
String
val
options
:
Options
const
val
PARAMETER_NAME_NEW_VALUE
:
String
fun
Element
.
toLoadableClassString
(
)
:
String
const
val
TYPE_NAME_VALUE
:
String
val
typeUtils
:
Types
abstract
fun
writeAccessorClass
(
annotatedElements
:
Set
<
Element
>
,
filer
:
Filer
)
:
Unit
abstract
class
AnnotationProcessor
:
AbstractProcessor
,
Options
Module Contents
AnnotationProcessor
(
annotationClass
:
Class
<
out
Annotation
>
)
val
annotationClass
:
Class
<
out
Annotation
>
open
fun
defaultAndroidXRestrictTo
(
)
:
Iterable
<
Scope
>
open
fun
defaultSupportRestrictTo
(
)
:
Iterable
<
Scope
>
lateinit
var
elementUtils
:
Elements
lateinit
var
filer
:
Filer
open
fun
getSupportedAnnotationTypes
(
)
:
Set
<
String
!
>
open
fun
getSupportedOptions
(
)
:
Set
<
String
>
open
fun
getSupportedSourceVersion
(
)
:
SourceVersion
@Synchronized
open
fun
init
(
processingEnvironment
:
ProcessingEnvironment
)
:
Unit
lateinit
var
messager
:
Messager
lateinit
var
options
:
Map
<
String
,
String
>
open
fun
requiredClasses
(
)
:
List
<
String
>
lateinit
var
typeUtils
:
Types
abstract
class
AnnotationVerifier
<
Annotation
:
Annotation
>
Module Contents
AnnotationVerifier
(
logger
:
Logger
)
abstract
fun
annotationClass
(
)
:
Class
<
Annotation
>
val
logger
:
Logger
abstract
fun
verify
(
element
:
Element
,
annotation
:
Annotation
=
element.getAnnotation<Annotation>(annotationClass())
)
:
Boolean
class
Logger
Module Contents
Logger
(
messager
:
Messager
)
fun
error
(
message
:
CharSequence
,
culprit
:
Element
?
=
null
)
:
Unit
fun
warn
(
message
:
CharSequence
,
culprit
:
Element
?
=
null
)
:
Unit
interface
Options
Module Contents
abstract
fun
defaultAndroidXRestrictTo
(
)
:
Iterable
<
Scope
>
abstract
fun
defaultSupportRestrictTo
(
)
:
Iterable
<
Scope
>
abstract
fun
requiredClasses
(
)
:
List
<
String
>
class
RequiresAccessorAnnotationVerifier
:
AnnotationVerifier
<
RequiresAccessor
>
Module Contents
RequiresAccessorAnnotationVerifier
(
logger
:
Logger
)
fun
annotationClass
(
)
:
Class
<
RequiresAccessor
>
fun
verify
(
element
:
Element
,
annotation
:
RequiresAccessor
)
:
Boolean