-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Constants for types like float are defined here. We can instead use Spoon's factory methods to compare types of two objects. For example:
- ctBinaryOperator.getLeftHandOperand().getType().getSimpleName().equals(Constants.FLOAT)
+ ctBinaryOperator.getLeftHandOperand().getType().equals(factory.Type().floatPrimitiveType())Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers