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

com.github.fashionbrot.internal.NotNullConstraint Maven / Gradle / Ivy

The newest version!
package com.github.fashionbrot.internal;

import com.github.fashionbrot.annotation.NotNull;
import com.github.fashionbrot.constraint.ConstraintValidator;

public class NotNullConstraint implements ConstraintValidator {


    @Override
    public boolean isValid(NotNull annotation, Object object, Class valueType) {
        return object != null;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy