Package com.google.inject.internal
Class KotlinSupport.KotlinUnsupported
java.lang.Object
com.google.inject.internal.KotlinSupport.KotlinUnsupported
- All Implemented Interfaces:
KotlinSupportInterface
- Enclosing class:
KotlinSupport
private static class KotlinSupport.KotlinUnsupported
extends Object
implements KotlinSupportInterface
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkConstructorParameterAnnotations
(Constructor<?> constructor, Errors errors) Checks for any errors on the constructor's parameters's annotations.getAnnotations
(Field field) Returns an array ofAnnotation
s on the field's Kotlin property (if applicable).getIsParameterKotlinNullablePredicate
(Constructor<?> constructor) Returns aPredicate
that says whether the constructor's i-th parameter is Kotlin-nullable.Returns aPredicate
that says whether the method's i-th parameter is Kotlin-nullable.boolean
isLocalClass
(Class<?> clazz) Returns whether theclazz
is a local Kotlin class.boolean
isNullable
(Field field) Returns true if the field is declared as kotlin nullable type.
-
Field Details
-
NO_ANNOTATIONS
-
FALSE_PREDICATE
-
-
Constructor Details
-
KotlinUnsupported
private KotlinUnsupported()
-
-
Method Details
-
getAnnotations
Description copied from interface:KotlinSupportInterface
Returns an array ofAnnotation
s on the field's Kotlin property (if applicable).- Specified by:
getAnnotations
in interfaceKotlinSupportInterface
-
isNullable
Description copied from interface:KotlinSupportInterface
Returns true if the field is declared as kotlin nullable type.- Specified by:
isNullable
in interfaceKotlinSupportInterface
-
getIsParameterKotlinNullablePredicate
Description copied from interface:KotlinSupportInterface
Returns aPredicate
that says whether the constructor's i-th parameter is Kotlin-nullable.- Specified by:
getIsParameterKotlinNullablePredicate
in interfaceKotlinSupportInterface
-
getIsParameterKotlinNullablePredicate
Description copied from interface:KotlinSupportInterface
Returns aPredicate
that says whether the method's i-th parameter is Kotlin-nullable.- Specified by:
getIsParameterKotlinNullablePredicate
in interfaceKotlinSupportInterface
-
checkConstructorParameterAnnotations
Description copied from interface:KotlinSupportInterface
Checks for any errors on the constructor's parameters's annotations.- Specified by:
checkConstructorParameterAnnotations
in interfaceKotlinSupportInterface
-
isLocalClass
Description copied from interface:KotlinSupportInterface
Returns whether theclazz
is a local Kotlin class.- Specified by:
isLocalClass
in interfaceKotlinSupportInterface
-