@Override public void caseAnnotationIntElem(AnnotationIntElem v) { setResult(new AnnotationElemResult<Integer>(v.getName(), v.getValue())); }
result.append("\"" + elem.getName() + "\" "); if (elem instanceof AnnotationIntElem) { result.append(((AnnotationIntElem) elem).getValue()); } else { if (((AnnotationBooleanElem) elem).getValue()) { result.append(".short_kind "); result.append("\"" + elem.getName() + "\" "); result.append(((AnnotationIntElem) elem).getValue()); result.append("\n"); break; result.append(".byte_kind "); result.append("\"" + elem.getName() + "\" "); result.append(((AnnotationIntElem) elem).getValue()); result.append("\n"); break; result.append(".char_kind "); result.append("\"" + elem.getName() + "\" "); result.append(((AnnotationIntElem) elem).getValue()); result.append("\n"); break; result.append(".int_kind "); result.append("\"" + elem.getName() + "\" "); result.append(((AnnotationIntElem) elem).getValue()); result.append("\n"); break;
if (elem instanceof AnnotationIntElem) { AnnotationIntElem e = (AnnotationIntElem) elem; if (e.getValue() == 0) { return ImmutableBooleanEncodedValue.FALSE_VALUE; } else if (e.getValue() == 1) { return ImmutableBooleanEncodedValue.TRUE_VALUE; } else { return new ImmutableShortEncodedValue((short) e.getValue()); return new ImmutableByteEncodedValue((byte) e.getValue()); return new ImmutableCharEncodedValue((char) e.getValue()); return new ImmutableIntEncodedValue(e.getValue());
accessFlags = ((AnnotationIntElem) ele).getValue(); } else if (ele instanceof AnnotationStringElem && ele.getName().equals("name")) { name = ((AnnotationStringElem) ele).getValue();
if (elem instanceof AnnotationIntElem) { AnnotationIntElem intElem = (AnnotationIntElem) elem; int value = intElem.getValue(); switch (intElem.getKind()) { case 'B':