package net.bytebuddy.matcher;

import net.bytebuddy.description.type.TypeDefinition;

/**
 * Matches an enumeration type.
 *
 * @param <T> The type of the matched entity.
 */
public class ArrayTypeMatcher<T extends TypeDefinition> extends ElementMatcher.Junction.AbstractBase<T> {

    /**
     * {@inheritDoc}
     */
    public boolean matches(T target) {
        return target.isArray();
    }

    @Override
    public String toString() {
        return "isArray()";
    }
}
@@ -25,16 +25,68 @@
 tcher;%0A%0A
+import net.bytebuddy.build.HashCodeAndEqualsPlugin;%0A
 import n
@@ -221,16 +221,49 @@
 ty.%0A */%0A
+@HashCodeAndEqualsPlugin.Enhance%0A
 public c
@@ -557,8 +557,9 @@
 %0A    %7D%0A%7D
+%0A

Add newline and add missing enhance annotation.