Class Utilities
java.lang.Object
mockit.internal.util.Utilities
Miscellaneous utility constants and methods.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontainsReference(List<?> references, Object toBeFound) static voidensureThatMemberIsAccessible(AccessibleObject classMember) static MethodgetAnnotatedDeclaredMethod(Class<?> cls, Class<? extends Annotation> annotation) static MethodgetAnnotatedMethod(Class<?> cls, Class<? extends Annotation> annotation) static StringgetClassFileLocationPath(Class<?> aClass) static StringgetClassFileLocationPath(CodeSource codeSource) static Class<?> getClassType(Type declaredType)
-
Field Details
-
NO_ARGS
-
JAVA8
public static final boolean JAVA8 -
HOTSPOT_VM
public static final boolean HOTSPOT_VM
-
-
Method Details
-
ensureThatMemberIsAccessible
-
getAnnotatedMethod
-
getAnnotatedDeclaredMethod
public static Method getAnnotatedDeclaredMethod(Class<?> cls, Class<? extends Annotation> annotation) -
getClassType
-
containsReference
-
getClassFileLocationPath
-
getClassFileLocationPath
-