Files
kotlin-fork/plugins/allopen/testData/bytecodeListing/springAnnotations.kt
T
Dmitriy Novozhilov 2a7dc1cc0c [AllOpen] Reorganize module structure of AllOpen plugin
This scheme will be common for all compiler plugins with K1 and K2 support:
- `plugin-common` contains classes shared with K1 and K2 implementations (if any)
- `plugin-k1` contains implementation for K1 compiler
- `plugin-k2` contains implementation for K2 compiler
- `plugin-backend` contains implementation for backend extensions (if any)
- `plugin-cli` is module for registration of plugin in CLI compiler
- `plugin` is a root module with tests and all submodules embedded

This structure is needed to distinguish parts related to different frontends,
  which is needed for proper dependencies settings for Kotlin IDE plugins
2022-06-07 14:12:15 +00:00

45 lines
941 B
Kotlin
Vendored

// FILE: component.kt
package org.springframework.stereotype
annotation class Component
// FILE: transactional.kt
package org.springframework.transaction.annotation
annotation class Transactional
// FILE: async.kt
package org.springframework.scheduling.annotation
annotation class Async
// FILE: cacheable.kt
package org.springframework.cache.annotation
annotation class Cacheable
// FILE: springBootTest.kt
package org.springframework.boot.test.context
annotation class SpringBootTest
// FILE: main.kt
package test
import org.springframework.stereotype.*
import org.springframework.transaction.annotation.*
import org.springframework.scheduling.annotation.*
import org.springframework.cache.annotation.*
import org.springframework.boot.test.context.*
@Component
class TestComponent
@Transactional
class TestTransactional
@Async
class TestAsync
@Cacheable
class TestCacheable
@SpringBootTest
class TestSpringBootTest
class NoAnno