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

net.jbock.convert.matching.ValidMatch Maven / Gradle / Ivy

There is a newer version: 5.18
Show newest version
package net.jbock.convert.matching;

import com.squareup.javapoet.CodeBlock;
import net.jbock.annotated.AnnotatedMethod;
import net.jbock.model.Multiplicity;

import javax.lang.model.type.TypeMirror;
import java.util.Optional;

public final class ValidMatch {

    private final Match match;

    ValidMatch(Match match) {
        this.match = match;
    }

    public TypeMirror baseType() {
        return match.baseType();
    }

    public Multiplicity multiplicity() {
        return match.multiplicity();
    }

    public M sourceMethod() {
        return match.sourceMethod();
    }

    public Optional extractExpr() {
        return match.extractExpr();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy