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>> |
union(Collection<T>... collections)
Take the union of a list of collections.
|
public static boolean isJar(String path)
@SafeVarargs public static <T extends Comparable<T>> HashSet<T> union(Collection<T>... collections)
public static Collection<ClassInfo> mergeScalaAuxClasses(Collection<ClassInfo> classInfoFromScan)
Copyright © 2016. All rights reserved.