Package net.bytebuddy.dynamic.scaffold
Interface MethodRegistry.Prepared
-
- All Known Implementing Classes:
MethodRegistry.Default.Prepared
- Enclosing interface:
- MethodRegistry
public static interface MethodRegistry.Prepared
A method registry that fully prepared the instrumented type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MethodRegistry.Compiled
compile(Implementation.Target.Factory implementationTargetFactory, ClassFileVersion classFileVersion)
Compiles this prepared method registry.MethodList<?>
getInstrumentedMethods()
Returns a list of all methods that should be instrumented.TypeDescription
getInstrumentedType()
Returns the fully prepared instrumented type.LoadedTypeInitializer
getLoadedTypeInitializer()
Returns the loaded type initializer of the instrumented type.MethodList<?>
getMethods()
Returns the declared or virtually inherited methods of this type.TypeInitializer
getTypeInitializer()
The type initializer of the instrumented type.
-
-
-
Method Detail
-
getInstrumentedType
TypeDescription getInstrumentedType()
Returns the fully prepared instrumented type.- Returns:
- The fully prepared instrumented type.
-
getMethods
MethodList<?> getMethods()
Returns the declared or virtually inherited methods of this type.- Returns:
- The declared or virtually inherited methods of this type.
-
getInstrumentedMethods
MethodList<?> getInstrumentedMethods()
Returns a list of all methods that should be instrumented.- Returns:
- A list of all methods that should be instrumented.
-
getLoadedTypeInitializer
LoadedTypeInitializer getLoadedTypeInitializer()
Returns the loaded type initializer of the instrumented type.- Returns:
- The loaded type initializer of the instrumented type.
-
getTypeInitializer
TypeInitializer getTypeInitializer()
The type initializer of the instrumented type.- Returns:
- The type initializer of the instrumented type.
-
compile
MethodRegistry.Compiled compile(Implementation.Target.Factory implementationTargetFactory, ClassFileVersion classFileVersion)
Compiles this prepared method registry.- Parameters:
implementationTargetFactory
- A factory for creating an implementation target.classFileVersion
- The type's class file version.- Returns:
- A factory for creating an implementation target.
-
-