public abstract class PDeclaredDescriptor<T> extends Object implements PDescriptor, Type
| Modifier | Constructor and Description |
|---|---|
protected |
PDeclaredDescriptor(String programName,
String name) |
| Modifier and Type | Method and Description |
|---|---|
T |
getDefaultValue() |
String |
getName()
The name of the type is the Identifier string from the IDL.
|
String |
getProgramName()
The package name is derived form the .thrift file name that is parsed or
if read from serialized format is explicit.
|
String |
getQualifiedName(String programContext)
This will return the qualified name of the type given the program context.
|
String |
getTypeName() |
abstract boolean |
isAutoType() |
abstract boolean |
isInnerType() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetQualifiedName, getType@Nonnull public String getTypeName()
getTypeName in interface Type@Nonnull public final String getProgramName()
PDescriptorgetProgramName in interface PDescriptor@Nonnull public final String getName()
PDescriptorgetName in interface PDescriptor@Nonnull public final String getQualifiedName(String programContext)
PDescriptorgetQualifiedName in interface PDescriptorprogramContext - The program which the type should be referenced from.@Nullable public T getDefaultValue()
getDefaultValue in interface PDescriptorpublic abstract boolean isInnerType()
public abstract boolean isAutoType()
Copyright © 2015–2020 morimekta.net. All rights reserved.