Package com.google.inject.internal
Class DeclaredMembers
- java.lang.Object
-
- com.google.inject.internal.DeclaredMembers
-
public final class DeclaredMembers extends Object
Utility class for retrieving declared fields or methods in a particular order, because the JVM doesn't guarantee ordering for listing declared methods. We don't externally guarantee an ordering, but having a consistent ordering allows deterministic behavior and simpler tests.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Field[]
getDeclaredFields(Class<?> type)
static Method[]
getDeclaredMethods(Class<?> type)
-