All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.skywalking.apm.dependencies.net.bytebuddy.matcher.ArrayTypeMatcher Maven / Gradle / Ivy

There is a newer version: 9.2.0
Show newest version
package org.apache.skywalking.apm.dependencies.net.bytebuddy.matcher;

import org.apache.skywalking.apm.dependencies.net.bytebuddy.build.HashCodeAndEqualsPlugin;
import org.apache.skywalking.apm.dependencies.net.bytebuddy.description.type.TypeDefinition;

/**
 * Matches an enumeration type.
 *
 * @param  The type of the matched entity.
 */
@HashCodeAndEqualsPlugin.Enhance
public class ArrayTypeMatcher extends ElementMatcher.Junction.AbstractBase {

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

    @Override
    public String toString() {
        return "isArray()";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy