-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
문제
@RequestMapping(method=RequestMethod.POST)도 [ALL]로 표시됨
원인
extractHttpMethod()가 어노테이션 이름만 확인하고 method 속성은 파싱하지 않음
// JavaSourceParser.java:519-525
private String extractHttpMethod(String annotationName) {
if (annotationName.equals("GetMapping")) return "GET";
if (annotationName.equals("PostMapping")) return "POST";
return "ALL"; // @RequestMapping은 무조건 ALL
}해결 방안
-
@RequestMapping일 때NormalAnnotationExpr에서 method 속성 확인 -
RequestMethod.GET→ "GET" 변환 로직 추가 - 복수 메서드
{GET, POST}→ "GET/POST" 처리
관련 파일
src/main/java/com/codeflow/parser/JavaSourceParser.java
참고
- 상세 분석:
docs/ISSUES.mdIssue feat: GUI 테이블 영향도 탭 UX 개선 및 세션 상태 관리 (#30) #31
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working