Package mockit.internal.util
Class Utilities
java.lang.Object
mockit.internal.util.Utilities
Miscellaneous utility constants and methods.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
containsReference
(List<?> references, Object toBeFound) static void
ensureThatMemberIsAccessible
(AccessibleObject classMember) static Method
getAnnotatedDeclaredMethod
(Class<?> cls, Class<? extends Annotation> annotation) static Method
getAnnotatedMethod
(Class<?> cls, Class<? extends Annotation> annotation) static String
getClassFileLocationPath
(Class<?> aClass) static String
getClassFileLocationPath
(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
-