java.security.Permission Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
package java.security;
public abstract class Permission implements Guard, java.io.Serializable {
private String name;
public Permission(String name) {
this.name = name;
}
public void checkGuard(Object object) throws SecurityException {
}
public abstract boolean implies(Permission permission);
//public abstract boolean equals(Object obj);
//public abstract int hashCode();
public final String getName() {
return name;
}
public abstract String getActions();
public PermissionCollection newPermissionCollection() {
return null;
}
}