question: private boolean canBeNarrowingPrimitiveConversion ( TypeMirror type ) { TypeMirror unboxedType = TypesUtils . isBoxedPrimitive ( type ) ? types . unboxedType ( type ) : type ; TypeKind unboxedKind = unboxedType . getKind ( ) ; return unboxedKind == TypeKind . BYTE || unboxedKind == TypeKind . SHORT || unboxedKind == TypeKind . CHAR ; }
target:  All other narrowings require a cast. For example: Byte b = 100; See JLS 5.1.3