Skip to content

Commit c456aee

Browse files
docs: added kdoc to BinaryClass, internalized, and moved it.
1 parent fc193ed commit c456aee

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

  • src/main/kotlin/com/autonomousapps/model/internal/intermediates/producer

src/main/kotlin/com/autonomousapps/model/intermediates/producer/BinaryClass.kt renamed to src/main/kotlin/com/autonomousapps/model/internal/intermediates/producer/BinaryClass.kt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
// Copyright (c) 2024. Tony Robalik.
22
// SPDX-License-Identifier: Apache-2.0
3-
package com.autonomousapps.model.intermediates.producer
3+
package com.autonomousapps.model.internal.intermediates.producer
44

55
import com.autonomousapps.internal.utils.LexicographicIterableComparator
66
import com.squareup.moshi.JsonClass
77
import java.util.SortedSet
88

9-
// TODO: ideally this would be internal. Do the Capabilities really need to be public?
9+
/**
10+
* Represents a class parsed from bytecode (see `asm.kt`). Includes the [className], the [superClassName] (may be
11+
* `java/lang/Object`), the set of interfaces (may be empty), and the sets of "effectively public" members (fields and
12+
* methods that are `public` or `protected`).
13+
*
14+
* All the class or interface name references are "slashy", not "dotty."
15+
*/
1016
@JsonClass(generateAdapter = false)
11-
data class BinaryClass(
17+
internal data class BinaryClass(
1218
val className: String,
1319
val superClassName: String,
1420
val interfaces: Set<String>,

0 commit comments

Comments
 (0)