@HashCodeAndEqualsPlugin.Enhance public static class Plugin.NoOp extends Object implements Plugin
Plugin.Compound, Plugin.ForElementMatcher, Plugin.NoOpElementMatcher.Junction<S>| Constructor and Description |
|---|
NoOp() |
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder<?> |
apply(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassFileLocator classFileLocator)
Applies this plugin.
|
boolean |
matches(TypeDescription target)
Matches a target against this element matcher.
|
public DynamicType.Builder<?> apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator)
Pluginapply in interface Pluginbuilder - The builder to use as a basis for the applied transformation.typeDescription - The type being transformed.classFileLocator - A class file locator that can locate other types in the scope of the project.public boolean matches(TypeDescription target)
ElementMatchermatches in interface ElementMatcher<TypeDescription>target - The instance to be matched.true if the given element is matched by this matcher or false otherwise.Copyright © 2014–2018. All rights reserved.