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

io.toolisticon.aptk.tools.matcher.impl.IsInterfaceMatcher Maven / Gradle / Ivy

The newest version!
package io.toolisticon.aptk.tools.matcher.impl;

import io.toolisticon.aptk.tools.ElementUtils;
import io.toolisticon.aptk.tools.matcher.ImplicitMatcher;

import javax.lang.model.element.Element;


/**
 * Implicit matcher that checks if a passed element is an interface.
 */
public class IsInterfaceMatcher implements ImplicitMatcher {

    @Override
    public boolean check(ELEMENT element) {
        return ElementUtils.CheckKindOfElement.isInterface(element);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy