naming/src/main/java/org/wildfly/naming/java/permission/JndiPermission.java
public boolean implies(final JndiPermission permission) {
        return permission != null && ((actionBits & permission.actionBits) == permission.actionBits) && impliesPath(permission.getName());
    }
public boolean implies(final JndiPermission permission) {
        return permission != null && ((actionBits & permission.actionBits) == permission.actionBits) && impliesPath(permission.getName());
    }
public boolean implies ( final JndiPermission permission ) { return permission != null && ( ( actionBits & permission . actionBits ) == permission . actionBits ) && impliesPath ( permission . getName ( ) ) ; }
Determine if this permission implies the other permission.

@param permission the other permission
@return {@code true} if this permission implies the other, {@code false} if it does not or {@code permission} is {@code null}
Determine if this permission implies the other permission .