MiniJava+ Type Rules and Constraints
The type is used for elements that need to be type-checked but do not carry a type themselves (this includes statements).
Class definitions and subtyping
Class variables and methods
Special main class:
Type-checking method bodies
In class :
Expressions
Statements