Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.kasource.commons.reflection.filter.constructors;
 
A filter which negates the result form another constructor filter.

Note: It's not recommended to use this class directly, instead use the org.kasource.commons.reflection.ConstructorFilterBuilder.

Author(s):
rikardwi
public class NegationConstructorFilter implements ConstructorFilter {
    private ConstructorFilter filter;
    
        this. = filter;
    }
    
    @SuppressWarnings("rawtypes")
    @Override
    public boolean passFilter(Constructor constructor) {
       return !.passFilter(constructor);
    }
New to GrepCode? Check out our FAQ X