Class OperandTypes


public abstract class OperandTypes extends Object
Strategies for checking operand types.

This class defines singleton instances of strategy objects for operand type-checking. ReturnTypes and InferTypes provide similar strategies for operand type inference and operator return type inference.

Note to developers: avoid anonymous inner classes here except for unique, non-generalizable strategies; anything else belongs in a reusable top-level class. If you find yourself copying and pasting an existing strategy's anonymous inner class, you're making a mistake.

See Also: