From f51456868b4032e3ba49d9be1416c31b16aa8d05 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 10:32:02 +0000 Subject: [PATCH] =?UTF-8?q?Reviewer=20=EC=97=AD=ED=95=A0=20=EA=B2=80?= =?UTF-8?q?=EC=A6=9D=20=EB=B3=B4=EA=B3=A0=EC=84=9C=20smoke=20(runtime-role?= =?UTF-8?q?-matrix-live-20260714101723-v7-reviewer-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/klaroworks/runtime/role/Nested.java | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/main/java/com/klaroworks/runtime/role/Nested.java diff --git a/src/main/java/com/klaroworks/runtime/role/Nested.java b/src/main/java/com/klaroworks/runtime/role/Nested.java new file mode 100644 index 0000000..e70ad38 --- /dev/null +++ b/src/main/java/com/klaroworks/runtime/role/Nested.java @@ -0,0 +1,46 @@ +package com.klaroworks.runtime.role; + +/** + * Nested class definition for role testing. + * Used by RoleMatrixRuntimeTest for nested class access testing. + */ +public class Nested { + + public static class InnerRole { + private final String roleName; + private final int priority; + + public InnerRole(String roleName, int priority) { + this.roleName = roleName; + this.priority = priority; + } + + public String getRoleName() { + return roleName; + } + + public int getPriority() { + return priority; + } + + @Override + public String toString() { + return "InnerRole{roleName='" + roleName + "', priority=" + priority + "}"; + } + } + + public static class RoleLevel { + public static final int ADMIN = 100; + public static final int MANAGER = 50; + public static final int USER = 10; + public static final int GUEST = 1; + + private RoleLevel() { + // Prevent instantiation + } + } + + public static InnerRole createRole(String name, int priority) { + return new InnerRole(name, priority); + } +}