@Test public void testAssignable() throws Exception { }
public boolean assignable(TypeMirror current, TypeMirror typeMirror){ return typeUtils.isSubtype(typeMirror, current) || typeUtils.isAssignable(typeMirror, current); }
TypeUtils { public boolean assignable(TypeMirror current, TypeMirror typeMirror){ return typeUtils.isSubtype(typeMirror, current) || typeUtils.isAssignable(typeMirror, current); } }
TypeUtils { public boolean assignable(TypeMirror current, TypeMirror typeMirror){ return typeUtils.isSubtype(typeMirror, current) || typeUtils.isAssignable(typeMirror, current); } @Inject  TypeUtils(Types types, MessageUtils messageUtils); }
TypeUtils { public boolean assignable(TypeMirror current, TypeMirror typeMirror){ return typeUtils.isSubtype(typeMirror, current) || typeUtils.isAssignable(typeMirror, current); } @Inject  TypeUtils(Types types, MessageUtils messageUtils); TypeElement asTypeElement(TypeMirror typeMirror); TypeMirror getOperatorKind(Source leftSide, Source rightSide); static TypeMirror getOperatorKind(Source leftSide, Source rightSide, TokenType.BinaryOperator operator); TypeMirror getOperatorKind(TypeMirror leftMirror, TypeMirror rightMirror); TypeMirror getOperatorKind(TypeMirror leftMirror, TypeMirror rightMirror , TokenType.BinaryOperator operator); boolean assignable(TypeMirror current, TypeMirror typeMirror); boolean matchFirstPrecedence(TypeMirror current, TypeMirror typeMirror); boolean isSameType(TypeMirror current, TypeMirror typeMirror); boolean match(TypeMirror current, TypeMirror typeMirror); boolean isString(TypeMirror typeMirror); TypeMirror getLongType(); TypeMirror getDoubleType(); TypeMirror getFloatType(); TypeMirror getStringType(); TypeMirror getIntegerType(); TypeMirror getBooleanType(); boolean equalsOrHasPrecedence(TypeMirror precedence, TypeMirror mirror); }
TypeUtils { public boolean assignable(TypeMirror current, TypeMirror typeMirror){ return typeUtils.isSubtype(typeMirror, current) || typeUtils.isAssignable(typeMirror, current); } @Inject  TypeUtils(Types types, MessageUtils messageUtils); TypeElement asTypeElement(TypeMirror typeMirror); TypeMirror getOperatorKind(Source leftSide, Source rightSide); static TypeMirror getOperatorKind(Source leftSide, Source rightSide, TokenType.BinaryOperator operator); TypeMirror getOperatorKind(TypeMirror leftMirror, TypeMirror rightMirror); TypeMirror getOperatorKind(TypeMirror leftMirror, TypeMirror rightMirror , TokenType.BinaryOperator operator); boolean assignable(TypeMirror current, TypeMirror typeMirror); boolean matchFirstPrecedence(TypeMirror current, TypeMirror typeMirror); boolean isSameType(TypeMirror current, TypeMirror typeMirror); boolean match(TypeMirror current, TypeMirror typeMirror); boolean isString(TypeMirror typeMirror); TypeMirror getLongType(); TypeMirror getDoubleType(); TypeMirror getFloatType(); TypeMirror getStringType(); TypeMirror getIntegerType(); TypeMirror getBooleanType(); boolean equalsOrHasPrecedence(TypeMirror precedence, TypeMirror mirror);  }