This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | Operators.
Class representing bitwise operator helpers that operate on boolean types (either boxed or unboxed). |
| pack-priv class | Operators.
Class representing equality operator helper that operates on either numeric, boolean or reference types. |
| pack-priv class | Operators.
Class representing binary operator helpers that operate on numeric types (either boxed or unboxed). |
| pack-priv abstract class | |
| pack-priv class | Operators.
Class representing shift operator helper that operates on integral operand types (either boxed or unboxed). |
| pack-priv class | Operators.
Class representing string concatenation operator helper that operates on at least an string operand. |
| pack-priv static enum | Operators.
This enum represent the possible kinds of an comparison test ('==' and '!='). |
| pack-priv abstract class | Operators.
Common root for all operator helpers. |
| pack-priv static enum | Operators.
The constants in this enum represent the types upon which all the operator helpers operate upon. |
| pack-priv class | Operators.
Class representing unary operator helpers that operate on boolean types (either boxed or unboxed). |
| pack-priv class | Operators.
Class representing unary operator helpers that operate on numeric types (either boxed or unboxed). |
| pack-priv abstract class | Operators.
Common superclass for all unary operator helpers. |
| pack-priv class | Operators.
Class representing prefix/postfix unary operator helpers. |
| pack-priv class | Operators.
Class representing unary operator helpers that operate on reference types. |
| Modifier and Type | Field and Description |
|---|---|
| private Map | binaryOperators
Binary operators map. |
| private final Log | |
| private final Names | |
| public final Symbol. | noOpSymbol
A symbol that stands for a missing operator. |
| protected static final Context. | |
| private Name[] | opname
The names of all operators. |
| private final Symtab | |
| private final Types | |
| private Map | unaryOperators
Unary operators map. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Type | binaryPromotion(Type t1, Type t2)
Perform binary promotion of a pair of types; this routine implements JLS 5.6.2. |
| private void | |
| private void | |
| private final <O extends Operators. | initOperators(Map<Name, List<O>> opsMap, O... ops)
Complete the initialization of an operator helper by storing it into the corresponding operator map. |
| private void | |
| public static Operators | |
| pack-priv Symbol. | |
| private Symbol. | makeOperator(Name name, List<Operators.
Creates an operator symbol. |
| private int | |
| public Name | |
| private Symbol. | reportErrorIfNeeded(JCDiagnostic.
Report an operator lookup error. |
| private <O> Symbol. | |
| pack-priv Symbol. | resolveBinary(JCDiagnostic.
Entry point for resolving a binary operator given an operator tag and a pair of argument types. |
| pack-priv Symbol. | resolveUnary(JCDiagnostic.
Entry point for resolving a unary operator given an operator tag and an argument type. |
| private void | |
| private void | |
| pack-priv Type |