public interface KotlinSupportInterface
Modifier and Type | Method and Description |
---|---|
void |
checkConstructorParameterAnnotations(java.lang.reflect.Constructor<?> constructor,
Errors errors)
Checks for any errors on the constructor's parameters's annotations.
|
java.lang.annotation.Annotation[] |
getAnnotations(java.lang.reflect.Field field)
Returns an array of
Annotation s on the field's Kotlin property (if applicable). |
java.util.function.Predicate<java.lang.Integer> |
getIsParameterKotlinNullablePredicate(java.lang.reflect.Constructor<?> constructor)
Returns a
Predicate that says whether the constructor's i-th parameter is
Kotlin-nullable. |
java.util.function.Predicate<java.lang.Integer> |
getIsParameterKotlinNullablePredicate(java.lang.reflect.Method method)
Returns a
Predicate that says whether the method's i-th parameter is Kotlin-nullable. |
boolean |
isLocalClass(java.lang.Class<?> clazz)
Returns whether the
clazz is a local Kotlin class. |
boolean |
isNullable(java.lang.reflect.Field field)
Returns true if the field is declared as kotlin nullable type.
|
java.lang.annotation.Annotation[] getAnnotations(java.lang.reflect.Field field)
Annotation
s on the field's Kotlin property (if applicable).boolean isNullable(java.lang.reflect.Field field)
java.util.function.Predicate<java.lang.Integer> getIsParameterKotlinNullablePredicate(java.lang.reflect.Constructor<?> constructor)
Predicate
that says whether the constructor's i-th parameter is
Kotlin-nullable.java.util.function.Predicate<java.lang.Integer> getIsParameterKotlinNullablePredicate(java.lang.reflect.Method method)
Predicate
that says whether the method's i-th parameter is Kotlin-nullable.void checkConstructorParameterAnnotations(java.lang.reflect.Constructor<?> constructor, Errors errors)
boolean isLocalClass(java.lang.Class<?> clazz)
clazz
is a local Kotlin class.