@@ -0,0 +1,383 @@
+package me.lexjoy.utils;%0A%0Apublic class DefaultUtils %7B%0A%0A  public static%3CT%3E T getValue(T value, T defValue) %7B%0A    return value == null ? defValue : value;%0A  %7D%0A%0A  public static%3CT%3E T getInstance(Object value, Class%3CT%3E valueType) %7B%0A    if (valueType == null %7C%7C !valueType.isInstance(value)) %7B%0A      return null;%0A    %7D%0A    return valueType.cast(value);%0A  %7D%0A%0A  private DefaultUtils() %7B%7D%0A%0A%7D%0A

Create DefaultUtils.java