Package net.bytebuddy.build
Interface Plugin.WithInitialization
- All Superinterfaces:
AutoCloseable
,Closeable
,ElementMatcher<TypeDescription>
,Plugin
- Enclosing interface:
Plugin
Allows for the generation of types before a plugin is applied.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
ElementMatcher.Junction<S>
Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin
Plugin.Engine, Plugin.Factory, Plugin.ForElementMatcher, Plugin.NoOp, Plugin.WithInitialization, Plugin.WithPreprocessor
-
Method Summary
Modifier and TypeMethodDescriptionMap
<TypeDescription, byte[]> initialize
(ClassFileLocator classFileLocator) Returns a mapping of classes that should be created before discovering any types.Methods inherited from interface net.bytebuddy.matcher.ElementMatcher
matches
-
Method Details
-
initialize
Returns a mapping of classes that should be created before discovering any types.- Parameters:
classFileLocator
- A class file locator that can locate other types in the scope of the project.- Returns:
- A mapping of types to their binary representation.
-