godot.entrygenerator.model.SourceFile.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of godot-entry-generator Show documentation
Show all versions of godot-entry-generator Show documentation
Godot Kotlin entry code generator.
package godot.entrygenerator.model
import java.io.File
data class SourceFile(
val absolutePath: String,
val registeredClasses: List = emptyList(),
override val symbolProcessorSource: Any
) : GodotJvmSourceElement {
val name = absolutePath.substringAfterLast("/").substringAfterLast(File.separator)
val extension = absolutePath.substringAfterLast(".")
}