private static class KotlinSupport.KotlinUnsupported extends java.lang.Object implements KotlinSupportInterface
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.util.function.Predicate<java.lang.Integer> |
FALSE_PREDICATE |
(package private) static java.lang.annotation.Annotation[] |
NO_ANNOTATIONS |
| Modifier | Constructor and Description |
|---|---|
private |
KotlinUnsupported() |
| 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
Annotations 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.
|
static final java.lang.annotation.Annotation[] NO_ANNOTATIONS
static final java.util.function.Predicate<java.lang.Integer> FALSE_PREDICATE
public java.lang.annotation.Annotation[] getAnnotations(java.lang.reflect.Field field)
KotlinSupportInterfaceAnnotations on the field's Kotlin property (if applicable).getAnnotations in interface KotlinSupportInterfacepublic boolean isNullable(java.lang.reflect.Field field)
KotlinSupportInterfaceisNullable in interface KotlinSupportInterfacepublic java.util.function.Predicate<java.lang.Integer> getIsParameterKotlinNullablePredicate(java.lang.reflect.Constructor<?> constructor)
KotlinSupportInterfacePredicate that says whether the constructor's i-th parameter is
Kotlin-nullable.getIsParameterKotlinNullablePredicate in interface KotlinSupportInterfacepublic java.util.function.Predicate<java.lang.Integer> getIsParameterKotlinNullablePredicate(java.lang.reflect.Method method)
KotlinSupportInterfacePredicate that says whether the method's i-th parameter is Kotlin-nullable.getIsParameterKotlinNullablePredicate in interface KotlinSupportInterfacepublic void checkConstructorParameterAnnotations(java.lang.reflect.Constructor<?> constructor,
Errors errors)
KotlinSupportInterfacecheckConstructorParameterAnnotations in interface KotlinSupportInterfacepublic boolean isLocalClass(java.lang.Class<?> clazz)
KotlinSupportInterfaceclazz is a local Kotlin class.isLocalClass in interface KotlinSupportInterface