Class AllWriteableMessageBodyWriterByteBuddyPlugin
java.lang.Object
org.jboss.resteasy.reactive.build.support.AllWriteableMessageBodyWriterByteBuddyPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,net.bytebuddy.build.Plugin,net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription>
public class AllWriteableMessageBodyWriterByteBuddyPlugin
extends Object
implements net.bytebuddy.build.Plugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
net.bytebuddy.matcher.ElementMatcher.Junction<S>Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin
net.bytebuddy.build.Plugin.Engine, net.bytebuddy.build.Plugin.Factory, net.bytebuddy.build.Plugin.ForElementMatcher, net.bytebuddy.build.Plugin.NoOp, net.bytebuddy.build.Plugin.WithInitialization, net.bytebuddy.build.Plugin.WithPreprocessor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.bytebuddy.dynamic.DynamicType.Builder<?> apply(net.bytebuddy.dynamic.DynamicType.Builder<?> builder, net.bytebuddy.description.type.TypeDescription typeDescription, net.bytebuddy.dynamic.ClassFileLocator classFileLocator) voidclose()booleanmatches(net.bytebuddy.description.type.TypeDescription typeDefinitions) static booleanshouldAddAllWriteableMarker(byte[] classBytes)
-
Constructor Details
-
AllWriteableMessageBodyWriterByteBuddyPlugin
public AllWriteableMessageBodyWriterByteBuddyPlugin()
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
matches
public boolean matches(net.bytebuddy.description.type.TypeDescription typeDefinitions) - Specified by:
matchesin interfacenet.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription>
-
apply
public net.bytebuddy.dynamic.DynamicType.Builder<?> apply(net.bytebuddy.dynamic.DynamicType.Builder<?> builder, net.bytebuddy.description.type.TypeDescription typeDescription, net.bytebuddy.dynamic.ClassFileLocator classFileLocator) - Specified by:
applyin interfacenet.bytebuddy.build.Plugin
-
shouldAddAllWriteableMarker
public static boolean shouldAddAllWriteableMarker(byte[] classBytes)
-