public boolean implies(final This permission) { return permission != null && impliesName(permission); }
/** * Determine whether this permission implies the name of the given permission. If * the permission is not of the same type as this permission, {@code false} is returned. * * @param permission the permission whose name is to be checked * @return {@code true} if this permission's name implies the given name, {@code false} otherwise */ @SuppressWarnings("unchecked") public final boolean impliesName(final Permission permission) { return permission != null && permission.getClass() == getClass() && impliesName((This) permission); }
/** * Determine whether this permission implies the name of the given permission. * * @param permission the permission whose name is to be checked * @return {@code true} if this permission's name implies the given name, {@code false} otherwise */ public boolean impliesName(final This permission) { return permission != null && impliesName(permission.getName()); }
public boolean implies(final This permission) { return permission != null && impliesName(permission); }
public boolean implies(final This permission) { return permission != null && impliesName(permission); }
public boolean implies(final This permission) { return permission != null && impliesName(permission); }
/** * Determine whether this permission implies the name of the given permission. If * the permission is not of the same type as this permission, {@code false} is returned. * * @param permission the permission whose name is to be checked * @return {@code true} if this permission's name implies the given name, {@code false} otherwise */ @SuppressWarnings("unchecked") public final boolean impliesName(final Permission permission) { return permission != null && permission.getClass() == getClass() && impliesName((This) permission); }
/** * Determine whether this permission implies the name of the given permission. If * the permission is not of the same type as this permission, {@code false} is returned. * * @param permission the permission whose name is to be checked * @return {@code true} if this permission's name implies the given name, {@code false} otherwise */ @SuppressWarnings("unchecked") public final boolean impliesName(final Permission permission) { return permission != null && permission.getClass() == getClass() && impliesName((This) permission); }
/** * Determine whether this permission implies the name of the given permission. If * the permission is not of the same type as this permission, {@code false} is returned. * * @param permission the permission whose name is to be checked * @return {@code true} if this permission's name implies the given name, {@code false} otherwise */ @SuppressWarnings("unchecked") public final boolean impliesName(final Permission permission) { return permission != null && permission.getClass() == getClass() && impliesName((This) permission); }
/** * Determine whether this permission implies the name of the given permission. * * @param permission the permission whose name is to be checked * @return {@code true} if this permission's name implies the given name, {@code false} otherwise */ public boolean impliesName(final This permission) { return permission != null && impliesName(permission.getName()); }
/** * Determine whether this permission implies the name of the given permission. * * @param permission the permission whose name is to be checked * @return {@code true} if this permission's name implies the given name, {@code false} otherwise */ public boolean impliesName(final This permission) { return permission != null && impliesName(permission.getName()); }
/** * Determine whether this permission implies the name of the given permission. * * @param permission the permission whose name is to be checked * @return {@code true} if this permission's name implies the given name, {@code false} otherwise */ public boolean impliesName(final This permission) { return permission != null && impliesName(permission.getName()); }