int (String accessModifier) { if (accessModifier.startsWith(PUBLIC)) return 1; if (accessModifier.startsWith(PROTECTED)) return 2; if (accessModifier.startsWith(PACKAGE_LOCAL)) return 3; if (accessModifier.startsWith(PRIVATE)) return 4; return 5; }