public boolean isBoxedPrimitive() {
    return this.equals(BOXED_BOOLEAN)
        || this.equals(BOXED_BYTE)
        || this.equals(BOXED_SHORT)
        || this.equals(BOXED_INT)
        || this.equals(BOXED_LONG)
        || this.equals(BOXED_CHAR)
        || this.equals(BOXED_FLOAT)
        || this.equals(BOXED_DOUBLE);
  }
public boolean isBoxedPrimitive ( ) { return this . equals ( BOXED_BOOLEAN ) || this . equals ( BOXED_BYTE ) || this . equals ( BOXED_SHORT ) || this . equals ( BOXED_INT ) || this . equals ( BOXED_LONG ) || this . equals ( BOXED_CHAR ) || this . equals ( BOXED_FLOAT ) || this . equals ( BOXED_DOUBLE ) ; }
Returns true if this is a boxed primitive type like {@code Integer}. Returns false for all
other types types including unboxed primitives and {@code java.lang.Void}.