bool isAssignableTo(
TypeMirror other
)

Checks the assignability relationship, denoted by <=> in the language specification. This is the type relationship tested on assignment in checked mode.

Source

/**
 * Checks the assignability relationship, denoted by [:<=>:] in the language
 * specification. This is the type relationship tested on assignment in
 * checked mode.
 */
bool isAssignableTo(TypeMirror other);