• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

kapt

【kapt】 처리 대상 클래스의 패키지를 지정하여 파일을 내보내는 【KotlinPoet】

kapt + KotlinPoet 에서 처리 대상 클래스의 패키지를 지정하여 파일을 내보냅니다. 하는 방법은 몇 가지 있습니다만, 이 기사에서는 ClassName 로부터 패키지명·클래스명의 정보를 취득해, ProcessingEnvironment 로부터 취득한 filer 를 지정해 내보내는 방법을 소개합니다. 버전은 다음과 같습니다. Kotlin : 1.4.31 KotlinPoet : 1.7.2...

KotlinPoetKotlinkapt

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more