naming/src/main/java/org/wildfly/naming/java/permission/JndiPermission.java
public boolean implies(final String name, final int actionBits) {
        Assert.checkNotNullParam("name", name);
        final int maskedBits = actionBits & ACTION_ALL;
        return (this.actionBits & maskedBits) == maskedBits && impliesPath(name);
    }
public boolean implies(final String name, final int actionBits) {
        Assert.checkNotNullParam("name", name);
        final int maskedBits = actionBits & ACTION_ALL;
        return (this.actionBits & maskedBits) == maskedBits && impliesPath(name);
    }
public boolean implies ( final String name , final int actionBits ) { Assert . checkNotNullParam ( "name" , name ) ; final int maskedBits = actionBits & ACTION_ALL ; return ( this . actionBits & maskedBits ) == maskedBits && impliesPath ( name ) ; }
Determine if this permission implies the given {@code actionsBits} on the given {@code name}.

@param name the name (must not be {@code null})
@param actionBits the action bits
@return {@code true} if this permission implies the {@code actionBits} on the {@code name}, {@code false} otherwise
Determine if this permission implies the given { @code actionsBits } on the given { @code name } .