Package net.morimekta.providence.model
Interface Decl
-
- All Known Subinterfaces:
ConstType_OrBuilder,Decl._Builder,EnumType_OrBuilder,EnumValue_OrBuilder,FieldType_OrBuilder,FunctionType_OrBuilder,MessageType_OrBuilder,ServiceType_OrBuilder,TypedefType_OrBuilder
- All Known Implementing Classes:
ConstType,ConstType._Builder,Declaration,EnumType,EnumType._Builder,EnumValue,EnumValue._Builder,FieldType,FieldType._Builder,FunctionType,FunctionType._Builder,MessageType,MessageType._Builder,ServiceType,ServiceType._Builder,TypedefType,TypedefType._Builder
@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") public interface DeclBase declaration type. All declarations have these fields.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceDecl._Builderstatic classDecl._Field
-
Field Summary
Fields Modifier and Type Field Description static net.morimekta.providence.descriptor.PInterfaceDescriptor<?>kDescriptor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDocumentation()Documentation for the specific declaration.java.lang.StringgetName()Name of the type, constant or service.booleanhasDocumentation()booleanhasName()java.util.Optional<java.lang.String>optionalDocumentation()Documentation for the specific declaration.
-
-
-
Method Detail
-
getDocumentation
java.lang.String getDocumentation()
Documentation for the specific declaration.- Returns:
- The documentation value.
-
optionalDocumentation
@Nonnull java.util.Optional<java.lang.String> optionalDocumentation()
Documentation for the specific declaration.- Returns:
- Optional documentation value.
-
hasDocumentation
boolean hasDocumentation()
- Returns:
- If documentation is present.
-
getName
@Nonnull java.lang.String getName()
Name of the type, constant or service.- Returns:
- The name value.
-
hasName
boolean hasName()
- Returns:
- If name is present.
-
-