Package com.faendir.kotlin.autodsl.kapt
Class KaptSourceInfoResolver
-
- All Implemented Interfaces:
-
com.faendir.kotlin.autodsl.SourceInfoResolver
public final class KaptSourceInfoResolver implements SourceInfoResolver<Annotated, Type, Constructor, Parameter>
-
-
Constructor Summary
Constructors Constructor Description KaptSourceInfoResolver(ProcessingEnvironment processingEnv, RoundEnvironment roundEnv)
-
Method Summary
-
-
Constructor Detail
-
KaptSourceInfoResolver
KaptSourceInfoResolver(ProcessingEnvironment processingEnv, RoundEnvironment roundEnv)
-
-
Method Detail
-
getClassesWithAnnotation
List<Type> getClassesWithAnnotation(KClass<out Annotation> annotation)
-
getClassesWithAnnotation
List<Type> getClassesWithAnnotation(Type annotation)
-
getClassKind
ClassKind getClassKind(Type $self)
-
getAnnotationTypeProperty
<T extends Annotation> ClassName getAnnotationTypeProperty(Annotated $self, KClass<T> annotation, KProperty1<T, KClass<?>> property)
-
hasAnnotation
Boolean hasAnnotation(Annotated $self, KClass<out Annotation> annotation)
-
getAnnotationProperty
<T extends Annotation, V extends Any> V getAnnotationProperty(Annotated $self, KClass<T> annotation, KProperty1<T, V> property)
-
isAbstract
Boolean isAbstract(Type $self)
-
getConstructors
List<Constructor> getConstructors(Type $self)
-
isAccessible
Boolean isAccessible(Constructor $self)
-
getPrimaryConstructor
Constructor getPrimaryConstructor(Type $self)
-
isValid
Boolean isValid(Constructor $self)
-
getParameters
List<Parameter> getParameters(Constructor $self)
-
asClassName
ClassName asClassName(Type $self)
-
getTypeDeclaration
Type getTypeDeclaration(Parameter $self)
-
getTypeArguments
List<Type> getTypeArguments(Parameter $self)
-
getTypeName
TypeName getTypeName(Parameter $self)
-
hasDefault
Boolean hasDefault(Parameter $self)
-
-
-
-