Class MixinMatchers
java.lang.Object
me.tamkungz.nilkit.tooling.bytebuddy.MixinMatchers
Small matcher vocabulary for code that is conceptually ported from Mixin.
Raw Byte Buddy matchers can always be used instead.
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> descriptor(String descriptor) Matches a method/constructor by exact JVM descriptor, e.g.static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.type.TypeDescription> static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>
-
Method Details
-
type
public static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.type.TypeDescription> type(String binaryName) -
method
public static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> method(String name) -
constructor
public static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> constructor() -
typeInitializer
public static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> typeInitializer() -
descriptor
public static net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> descriptor(String descriptor) Matches a method/constructor by exact JVM descriptor, e.g. (Ljava/lang/String;)V. -
method
-