Package org.dellroad.stuff.java
package org.dellroad.stuff.java
General Java-related utility classes.
-
ClassDescriptionAnnotation utility methods.Wraps checked exceptions so they can be thrown across API methods that don't declare them.Utility methods for
Enum
s.Enumeration of possible actions to take when an error of some kind is detected.Implemented by objects in an object graph that support graph cloning, i.e., deep copies without duplicates and preserving reference topology.A registry for copies ofGraphCloneable
objects used during graph cloning operations.Registry of unique IDs for objects.AnURLClassLoader
that maintains an updatable cache of class files (asbyte[]
arrays) in memory from which classes may be loaded.MethodAnnotationScanner<T,A extends Annotation> Scan a class hierarchy for annotated methods in an override-aware manner.AComparator
that creates a stable, total ordering of all Java objects.A boolean predicate.Primitive<T>Simple utility enumeration for working JavaClass
instances representing primitive types (includingvoid
).Visitor pattern interface forPrimitive
s.Adapter class forPrimitiveSwitch
implementations.Handles external process I/O and async execution.Reflection utility methods.Wrapper that makes aMethod
Serializable
.A hack to workaround a stupid JLS restriction which requiressuper()
be the first statement in a constructor.Manages a thread local whose lifetime matches the duration of some method call.A place for threads to be parked and unparked.Utility methods dealing withThrowable
s.Utility class for performing timed waits on objects.