public final class DeclaredMembers
extends java.lang.Object
For class ordering, within a single classloader there can only be one class with a given name, so we just compare the names.
For method ordering, within a single class it is sufficient to compare the non-generic method signature which consists of the name, return type and parameter types.
Modifier | Constructor and Description |
---|---|
private |
DeclaredMembers() |
Modifier and Type | Method and Description |
---|---|
static java.lang.reflect.Field[] |
getDeclaredFields(java.lang.Class<?> type) |
static java.lang.reflect.Method[] |
getDeclaredMethods(java.lang.Class<?> type) |