protected boolean conversionRequiresNarrowing(TypeMirror varType,Node node){
  TypeMirror unboxedVarType=TypesUtils.isBoxedPrimitive(varType) ? types.unboxedType(varType) : varType;
  TypeKind unboxedVarKind=unboxedVarType.getKind();
  boolean isLeftNarrowableTo=unboxedVarKind == TypeKind.BYTE || unboxedVarKind == TypeKind.SHORT || unboxedVarKind == TypeKind.CHAR;
  boolean isRightConstant=node instanceof ValueLiteralNode;
  return isLeftNarrowableTo && isRightConstant;
}

protected boolean conversionRequiresNarrowing ( TypeMirror varType , Node node ) { TypeMirror unboxedVarType = TypesUtils . isBoxedPrimitive ( varType ) ? types . unboxedType ( varType ) : varType ; TypeKind unboxedVarKind = unboxedVarType . getKind ( ) ; boolean isLeftNarrowableTo = unboxedVarKind == TypeKind . BYTE || unboxedVarKind == TypeKind . SHORT || unboxedVarKind == TypeKind . CHAR ; boolean isRightConstant = node instanceof ValueLiteralNode ; return isLeftNarrowableTo && isRightConstant ; }
return whether a conversion from the type of the node to vartype requires narrowing .
