@Generated(value="providence-maven-plugin") @Immutable public class FunctionType extends Object implements PMessage<FunctionType,FunctionType._Field>, Comparable<FunctionType>, Serializable, BinaryWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionType._Builder
(oneway)? <return_type> <name>'('<param>*')' (throws '(' <exception>+ ')')?
|
static class |
FunctionType._Field |
| Modifier and Type | Field and Description |
|---|---|
static PStructDescriptor<FunctionType,FunctionType._Field> |
kDescriptor |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static FunctionType._Builder |
builder()
Make a model.FunctionType builder.
|
int |
compareTo(FunctionType other) |
PStructDescriptor<FunctionType,FunctionType._Field> |
descriptor() |
boolean |
equals(Object o) |
Object |
get(int key) |
Map<String,String> |
getAnnotations() |
String |
getDocumentation() |
List<FieldType> |
getExceptions() |
String |
getName() |
List<FieldType> |
getParams() |
String |
getReturnType() |
boolean |
has(int key) |
boolean |
hasAnnotations() |
boolean |
hasDocumentation() |
boolean |
hasExceptions() |
int |
hashCode() |
boolean |
hasName() |
boolean |
hasOneWay() |
boolean |
hasParams() |
boolean |
hasReturnType() |
boolean |
isOneWay() |
FunctionType._Builder |
mutate() |
int |
num(int key) |
int |
numAnnotations() |
int |
numExceptions() |
int |
numParams() |
static PStructDescriptorProvider<FunctionType,FunctionType._Field> |
provider() |
String |
toString() |
int |
writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer) |
public static final PStructDescriptor<FunctionType,FunctionType._Field> kDescriptor
public boolean hasDocumentation()
public String getDocumentation()
public boolean hasOneWay()
public boolean isOneWay()
public boolean hasReturnType()
public String getReturnType()
public boolean hasName()
public int numParams()
public boolean hasParams()
public int numExceptions()
public boolean hasExceptions()
public int numAnnotations()
public boolean hasAnnotations()
public boolean has(int key)
has in interface PMessage<FunctionType,FunctionType._Field>public int num(int key)
num in interface PMessage<FunctionType,FunctionType._Field>public Object get(int key)
get in interface PMessage<FunctionType,FunctionType._Field>@Nonnull public String asString()
asString in interface PMessage<FunctionType,FunctionType._Field>asString in interface net.morimekta.util.Stringablepublic int compareTo(FunctionType other)
compareTo in interface Comparable<FunctionType>public int writeBinary(net.morimekta.util.io.BigEndianBinaryWriter writer)
throws IOException
writeBinary in interface BinaryWriterIOException@Nonnull public FunctionType._Builder mutate()
mutate in interface PMessage<FunctionType,FunctionType._Field>public static PStructDescriptorProvider<FunctionType,FunctionType._Field> provider()
public PStructDescriptor<FunctionType,FunctionType._Field> descriptor()
descriptor in interface PMessage<FunctionType,FunctionType._Field>descriptor in interface PValue<FunctionType>public static FunctionType._Builder builder()
Copyright © 2015–2017 morimekta.net. All rights reserved.