Uses of Class
mockit.asm.classes.ClassReader
Packages that use ClassReader
Package
Description
Contains the classes that implement the internal mechanisms of the toolkit, and as such are not intended for direct
use in client code.
-
Uses of ClassReader in mockit.asm.classes
Constructors in mockit.asm.classes with parameters of type ClassReaderModifierConstructorDescriptionClassWriter(ClassReader classReader) Initializes a new class writer, applying the following two optimizations that are useful for "mostly add" bytecode transformations: The constant pool from the original class is copied as is in the new class, which saves time. -
Uses of ClassReader in mockit.asm.fields
Constructors in mockit.asm.fields with parameters of type ClassReader -
Uses of ClassReader in mockit.asm.methods
Constructors in mockit.asm.methods with parameters of type ClassReader -
Uses of ClassReader in mockit.internal
Methods in mockit.internal that return ClassReaderModifier and TypeMethodDescriptionstatic ClassReaderClassFile.createClassReader(ClassLoader cl, String internalClassName) static ClassReaderClassFile.createReaderFromLastRedefinitionIfAny(Class<?> aClass) static ClassReaderClassFile.createReaderOrGetFromCache(Class<?> aClass) Constructors in mockit.internal with parameters of type ClassReader -
Uses of ClassReader in mockit.internal.capturing
Methods in mockit.internal.capturing with parameters of type ClassReaderModifier and TypeMethodDescriptionprotected abstract BaseClassModifierCaptureOfImplementations.createModifier(ClassLoader cl, ClassReader cr, Class<?> baseType, M typeMetadata) -
Uses of ClassReader in mockit.internal.classGeneration
Methods in mockit.internal.classGeneration with parameters of type ClassReaderModifier and TypeMethodDescriptionprotected ClassVisitorConcreteSubclass.createMethodBodyGenerator(ClassReader typeReader) protected abstract ClassVisitorImplementationClass.createMethodBodyGenerator(ClassReader cr) Constructors in mockit.internal.classGeneration with parameters of type ClassReaderModifierConstructorDescriptionprotectedBaseSubclassGenerator(Class<?> baseClass, ClassReader cr, Type genericMockedType, String subclassName, boolean copyConstructors) -
Uses of ClassReader in mockit.internal.expectations.mocking
Methods in mockit.internal.expectations.mocking with parameters of type ClassReaderModifier and TypeMethodDescriptionprotected BaseClassModifierCaptureOfNewInstances.createModifier(ClassLoader cl, ClassReader cr, Class<?> baseType, MockedType typeMetadata) Constructors in mockit.internal.expectations.mocking with parameters of type ClassReaderModifierConstructorDescriptionInterfaceImplementationGenerator(ClassReader cr, Type mockedType, String implementationClassName) SubclassGenerationModifier(Class<?> baseClass, Type mockedType, ClassReader cr, String subclassName, boolean copyConstructors) -
Uses of ClassReader in mockit.internal.faking
Methods in mockit.internal.faking with parameters of type ClassReaderModifier and TypeMethodDescriptionprotected BaseClassModifierCaptureOfFakedImplementations.createModifier(ClassLoader cl, ClassReader cr, Class<?> baseType, Void typeMetadata)