Skip to content

Commit

Permalink
fixed packageName unresolved reference bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrulya-exe committed Mar 28, 2021
1 parent 0bd0c32 commit 4d12dac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class HandlerMetadataContainerCreator {
)

val requestHandlerMetadataClassName = ClassName(
RequestHandlerMetadata::class.java.packageName,
RequestHandlerMetadata::class.java.`package`.name,
RequestHandlerMetadata::class.simpleName!!
)

Expand Down Expand Up @@ -102,7 +102,7 @@ class HandlerMetadataContainerCreator {

fun create(metadata: KCacheableMetadata): FileSpec {
return FileSpec.builder(
GeneratedHandlerMetadataContainer::class.java.packageName,
GeneratedHandlerMetadataContainer::class.java.`package`.name,
handlerMetadataClassName
).addType(
createTypeSpec(metadata)
Expand Down

0 comments on commit 4d12dac

Please sign in to comment.