if (n >= 3) {
perm = new java.net.SocketPermission(args[1], args[2]);
}
} else if (name.equals("java")) {
perm = new JavaPermission(args[1]);
} else if (name.equals("runtime")) {
if (n > 2) {
perm = new anvil.core.RuntimePermission(args[1], args[2]);
} else {