public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isJar(String path)
Returns true if the path ends with a JAR extension
|
static Collection<ClassInfo> |
mergeScalaAuxClasses(Collection<ClassInfo> classInfoFromScan)
Merge ClassInfo for Scala's companion objects (ending in "$") and trait methods class (ending in "$class")
into the ClassInfo object for the base class that they are associated with.
|
static <T extends Comparable<T>> |
sortedCopy(Collection<T>... collections)
Convert a collection into a sorted list.
|
public static boolean isJar(String path)
@SafeVarargs public static <T extends Comparable<T>> ArrayList<T> sortedCopy(Collection<T>... collections)
public static Collection<ClassInfo> mergeScalaAuxClasses(Collection<ClassInfo> classInfoFromScan)
Copyright © 2015. All rights reserved.