(int index, boolean value)
| 63 | } |
| 64 | |
| 65 | public NameType withAux(int index, boolean value) { |
| 66 | if ((aux - 1 == index) == value) return this; |
| 67 | |
| 68 | if (value) { |
| 69 | if (mapped) return VALUES[MAPPED_AUX_PLAIN.ordinal() + index]; |
| 70 | if (plain) return VALUES[AUX_PLAIN.ordinal() + index]; |
| 71 | |
| 72 | return VALUES[AUX.ordinal() + index]; |
| 73 | } else { |
| 74 | if (mapped) return MAPPED_PLAIN; |
| 75 | |
| 76 | return PLAIN; |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | public NameType withTmp(boolean value) { |
| 81 | if (tmp == value) return this; |
no outgoing calls
no test coverage detected