@Generated(value="providence-maven-plugin") @Immutable public class TypedefType extends Object implements PMessage<TypedefType,TypedefType._Field>, Comparable<TypedefType>, Serializable, BinaryWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
TypedefType._Builder
typedef <type> <name>
|
static class |
TypedefType._Field |
| Modifier and Type | Field and Description |
|---|---|
static PStructDescriptor<TypedefType,TypedefType._Field> |
kDescriptor |
public static final PStructDescriptor<TypedefType,TypedefType._Field> kDescriptor
public boolean hasDocumentation()
public String getDocumentation()
documentation value@Nonnull public Optional<String> optionalDocumentation()
documentation field value.public boolean hasType()
public boolean hasName()
public boolean hasStartPos()
public FilePos getStartPos()
start_pos value@Nonnull public Optional<FilePos> optionalStartPos()
start_pos field value.public boolean hasEndPos()
public FilePos getEndPos()
end_pos value@Nonnull public Optional<FilePos> optionalEndPos()
end_pos field value.public boolean has(int key)
has in interface PMessage<TypedefType,TypedefType._Field>public <T> T get(int key)
get in interface PMessage<TypedefType,TypedefType._Field>@Nonnull public String asString()
asString in interface PMessage<TypedefType,TypedefType._Field>asString in interface net.morimekta.util.Stringablepublic int compareTo(TypedefType other)
compareTo in interface Comparable<TypedefType>public int writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer)
throws IOException
writeBinary in interface BinaryWriterIOException@Nonnull public TypedefType._Builder mutate()
mutate in interface PMessage<TypedefType,TypedefType._Field>@Nonnull public static PStructDescriptorProvider<TypedefType,TypedefType._Field> provider()
@Nonnull public PStructDescriptor<TypedefType,TypedefType._Field> descriptor()
descriptor in interface PMessage<TypedefType,TypedefType._Field>descriptor in interface PValue<TypedefType>public static TypedefType._Builder builder()
pmodel.TypedefType builder.Copyright © 2015–2018 morimekta.net. All rights reserved.