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 TypeMethodDescriptionvoidcheckConstructorParameterAnnotations(Constructor<?> constructor, Errors errors) Checks for any errors on the constructor's parameters's annotations.getAnnotations(Field field) Returns an array ofAnnotations on the field's Kotlin property (if applicable).getIsParameterKotlinNullablePredicate(Constructor<?> constructor) Returns aPredicatethat says whether the constructor's i-th parameter is Kotlin-nullable.Returns aPredicatethat says whether the method's i-th parameter is Kotlin-nullable.booleanisLocalClass(Class<?> clazz) Returns whether theclazzis a local Kotlin class.booleanisNullable(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:KotlinSupportInterfaceReturns an array ofAnnotations on the field's Kotlin property (if applicable).- Specified by:
getAnnotationsin interfaceKotlinSupportInterface
-
isNullable
Description copied from interface:KotlinSupportInterfaceReturns true if the field is declared as kotlin nullable type.- Specified by:
isNullablein interfaceKotlinSupportInterface
-
getIsParameterKotlinNullablePredicate
Description copied from interface:KotlinSupportInterfaceReturns aPredicatethat says whether the constructor's i-th parameter is Kotlin-nullable.- Specified by:
getIsParameterKotlinNullablePredicatein interfaceKotlinSupportInterface
-
getIsParameterKotlinNullablePredicate
Description copied from interface:KotlinSupportInterfaceReturns aPredicatethat says whether the method's i-th parameter is Kotlin-nullable.- Specified by:
getIsParameterKotlinNullablePredicatein interfaceKotlinSupportInterface
-
checkConstructorParameterAnnotations
Description copied from interface:KotlinSupportInterfaceChecks for any errors on the constructor's parameters's annotations.- Specified by:
checkConstructorParameterAnnotationsin interfaceKotlinSupportInterface
-
isLocalClass
Description copied from interface:KotlinSupportInterfaceReturns whether theclazzis a local Kotlin class.- Specified by:
isLocalClassin interfaceKotlinSupportInterface
-