@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.TypeStrategy.ForEntryPoint extends Object implements Plugin.Engine.TypeStrategy
EntryPoint
for a build tool.Plugin.Engine.TypeStrategy.Default, Plugin.Engine.TypeStrategy.ForEntryPoint
Constructor and Description |
---|
ForEntryPoint(EntryPoint entryPoint,
MethodNameTransformer methodNameTransformer)
Creates a new type stratrgy for an entry point.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<?> |
builder(ByteBuddy byteBuddy,
TypeDescription typeDescription,
ClassFileLocator classFileLocator)
Creates a builder for a given type.
|
public ForEntryPoint(EntryPoint entryPoint, MethodNameTransformer methodNameTransformer)
entryPoint
- The represented entry point.methodNameTransformer
- A method name transformer to use for rebasements.public DynamicType.Builder<?> builder(ByteBuddy byteBuddy, TypeDescription typeDescription, ClassFileLocator classFileLocator)
builder
in interface Plugin.Engine.TypeStrategy
byteBuddy
- The Byte Buddy instance to use.typeDescription
- The type being transformed.classFileLocator
- A class file locator for finding the type's class file.Copyright © 2014–2021. All rights reserved.