@UnstableApi public final class StructInfo extends Object implements NamedTypeInfo
| Constructor and Description |
|---|
StructInfo(String name,
Iterable<FieldInfo> fields)
Creates a new instance.
|
StructInfo(String name,
Iterable<FieldInfo> fields,
String docString)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
docString()
Returns the documentation string.
|
boolean |
equals(Object o) |
List<FieldInfo> |
fields()
Returns the metadata about the fields of the type.
|
Set<TypeSignature> |
findNamedTypes()
Returns all enum, struct and exception types referred by this type.
|
int |
hashCode() |
String |
name()
Returns the fully qualified type name.
|
String |
toString() |
public String name()
NamedTypeInfoname in interface NamedTypeInfopublic String docString()
NamedTypeInfodocString in interface NamedTypeInfopublic Set<TypeSignature> findNamedTypes()
NamedTypeInfofindNamedTypes in interface NamedTypeInfoCopyright © 2020 LeanCloud. All rights reserved.