12761277127812791280128112821283128412851286
/** * Update the value to the given value. */ public void setValue(Object value) { TypeTag tag = decoratedTree.typetag; value = sanitiseLiteralValue(tag, value); decoratedTree.value = value; }
8384858687888990919293
/** * Get a FunctionTemplate representing Math.abs on the given type. */ private static FunctionTemplate getAbs(Type t) { // Determine if the input is a floating point type. TypeTag tag = t.getTag(); boolean isFP = tag == TypeTag.FLOAT || tag == TypeTag.DOUBLE; AJCExpressionTree abs = treeMaker.Conditional(