public class CConst extends net.morimekta.providence.descriptor.PDeclaredDescriptor<Object> implements CAnnotatedDescriptor
| Constructor and Description |
|---|
CConst(String docs,
String programName,
String name,
net.morimekta.providence.descriptor.PDescriptorProvider typeProvider,
net.morimekta.providence.descriptor.PValueProvider<?> valueProvider,
Map<String,String> annotations) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<String> |
getAnnotations()
Get set of available annotations.
|
String |
getAnnotationValue(String name)
Get the given annotation value.
|
Object |
getDefaultValue() |
net.morimekta.providence.descriptor.PDescriptor |
getDescriptor() |
String |
getDocumentation()
The type comment is the last block of comment written before the type
declaration.
|
net.morimekta.providence.PType |
getType() |
boolean |
hasAnnotation(String name)
Get the given annotation value.
|
boolean |
hasDefaultValue() |
int |
hashCode() |
boolean |
isAutoType() |
boolean |
isInnerType() |
getName, getProgramName, getQualifiedName, getTypeName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotationValue, hasAnnotationpublic boolean isInnerType()
isInnerType in class net.morimekta.providence.descriptor.PDeclaredDescriptor<Object>public boolean isAutoType()
isAutoType in class net.morimekta.providence.descriptor.PDeclaredDescriptor<Object>public String getDocumentation()
CAnnotatedDescriptorgetDocumentation in interface CAnnotatedDescriptor@Nonnull public net.morimekta.providence.descriptor.PDescriptor getDescriptor()
public boolean hasDefaultValue()
public Object getDefaultValue()
getDefaultValue in interface net.morimekta.providence.descriptor.PDescriptorgetDefaultValue in class net.morimekta.providence.descriptor.PDeclaredDescriptor<Object>@Nonnull public net.morimekta.providence.PType getType()
getType in interface net.morimekta.providence.descriptor.PDescriptor@Nonnull public Set<String> getAnnotations()
CAnnotatedDescriptorgetAnnotations in interface CAnnotatedDescriptorpublic boolean hasAnnotation(@Nonnull String name)
CAnnotatedDescriptorhasAnnotation in interface CAnnotatedDescriptorname - Name of annotation.public String getAnnotationValue(@Nonnull String name)
CAnnotatedDescriptorgetAnnotationValue in interface CAnnotatedDescriptorname - Name of annotation.Copyright © 2015–2020 morimekta.net. All rights reserved.