Package com.illumon.compilertools
Class ReplicatePrimitiveCode
java.lang.Object
com.illumon.compilertools.ReplicatePrimitiveCode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull StringbasePathForClass(Class sourceClass, String root) static @NotNull PathbasePathForClass(String sourceClass, Path root) static StringcharLongToIntInt(String sourceClass, Path root, String... exemptions) static StringcharLongToLongInt(String sourceClass, Path root, String... exemptions) charToAllButBoolean(String sourceClass, Path root, String... exemptions) charToAllButBoolean(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) charToAllButBooleanAndByte(String sourceClass, Path root, String... exemptions) charToAllButBooleanAndFloats(String sourceClass, Path root, String... exemptions) charToAllButBooleanAndFloats(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static voidcharToAllButBooleanAndLong(String sourceClass, Path root, String... exemptions) static StringcharToBoolean(String sourceClass, Path root, String... exemptions) static StringcharToBoolean(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static StringcharToBooleanAsByte(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static StringcharToByte(String sourceClass, Path root, String... exemptions) static Stringstatic StringcharToDouble(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static StringcharToFloat(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static StringcharToInteger(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) charToIntegers(String sourceClass, Path root, String... exemptions) charToIntegers(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static StringcharToLong(String sourceClass, Path root, String... exemptions) static Stringstatic StringcharToObject(String sourceClass, Path root, String... exemptions) static StringcharToShort(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static voidcharToShortAndByte(String sourceClass, Path root, String... exemptions) static StringfloatToAllFloatingPoints(String sourceClass, Path root, String... exemptions) intToAllButBoolean(String sourceClass, Path root, String... exemptions) intToAllButBoolean(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static voidintToAllNumericals(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static Stringstatic Stringstatic StringintToDouble(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static Stringstatic StringintToLongAndFloatingPoints(String sourceClass, Path root, String... exemptions) intToLongAndFloatingPoints(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static StringintToObject(String sourceClass, Path root, String... exemptions) static Stringstatic StringlongToByte(String sourceClass, Path root, String... exemptions) static StringlongToDouble(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static StringlongToFloat(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static Stringstatic StringlongToObject(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) static @NotNull StringpathForClass(Class sourceClass, String root) static @NotNull StringpathForClass(String sourceClass, Path root) static StringreplaceAll(String inputText, Long serialVersionUID, String[] exemptions, String[]... pairs) static StringreplaceAll(String sourceClass, Map<String, Long> serialVersionUIDs, String[] exemptions, Path root, String[]... pairs) shortToAllIntegralTypes(String sourceClass, Path root, String... exemptions) static voidshortToAllNumericals(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions)
-
Constructor Details
-
ReplicatePrimitiveCode
public ReplicatePrimitiveCode()
-
-
Method Details
-
charToBoolean
public static String charToBoolean(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToBooleanAsByte
public static String charToBooleanAsByte(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToByte
public static String charToByte(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToDouble
public static String charToDouble(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToFloat
public static String charToFloat(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToInteger
public static String charToInteger(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToLong
public static String charToLong(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToShort
public static String charToShort(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charLongToLongInt
public static String charLongToLongInt(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
longToInt
public static String longToInt(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
longToByte
public static String longToByte(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charLongToIntInt
public static String charLongToIntInt(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
intToObject
public static String intToObject(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
intToChar
public static String intToChar(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
intToByte
public static String intToByte(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
intToDouble
public static String intToDouble(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
intToFloat
public static String intToFloat(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
intToLong
public static String intToLong(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
intToShort
public static String intToShort(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
longToFloat
public static String longToFloat(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
longToDouble
public static String longToDouble(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
longToObject
public static String longToObject(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToAll
public static List<String> charToAll(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToIntegers
public static List<String> charToIntegers(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToAllButBoolean
public static List<String> charToAllButBoolean(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToByte
public static String charToByte(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToObject
public static String charToObject(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToBoolean
public static String charToBoolean(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToLong
public static String charToLong(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToAllButBooleanAndLong
public static void charToAllButBooleanAndLong(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToAllButBoolean
public static List<String> charToAllButBoolean(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToIntegers
public static List<String> charToIntegers(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
charToAllButBooleanAndByte
public static List<String> charToAllButBooleanAndByte(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToAllButBooleanAndFloats
public static List<String> charToAllButBooleanAndFloats(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToShortAndByte
public static void charToShortAndByte(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
charToAllButBooleanAndFloats
public static List<String> charToAllButBooleanAndFloats(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
shortToAllNumericals
public static void shortToAllNumericals(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
intToAllNumericals
public static void intToAllNumericals(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
intToAllButBoolean
public static List<String> intToAllButBoolean(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
intToAllButBoolean
public static List<String> intToAllButBoolean(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
shortToAllIntegralTypes
public static List<String> shortToAllIntegralTypes(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
floatToAllFloatingPoints
public static String floatToAllFloatingPoints(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-
replaceAll
public static String replaceAll(String sourceClass, Map<String, Long> serialVersionUIDs, String[] exemptions, Path root, String[]... pairs) throws IOException- Throws:
IOException
-
basePathForClass
-
pathForClass
-
basePathForClass
-
pathForClass
-
replaceAll
-
intToLongAndFloatingPoints
public static List<String> intToLongAndFloatingPoints(String sourceClass, Path root, Map<String, Long> serialVersionUIDs, String... exemptions) throws IOException- Throws:
IOException
-
intToLongAndFloatingPoints
public static List<String> intToLongAndFloatingPoints(String sourceClass, Path root, String... exemptions) throws IOException - Throws:
IOException
-