public abstract class PDeclaredDescriptor<T> extends Object implements PDescriptor
Modifier | Constructor and Description |
---|---|
protected |
PDeclaredDescriptor(String programName,
String name) |
Modifier and Type | Method and Description |
---|---|
abstract PBuilder<T> |
builder()
Get the builder for the given declared type.
|
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 |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getQualifiedName, getType
@Nonnull public final String getProgramName()
PDescriptor
getProgramName
in interface PDescriptor
@Nonnull public final String getName()
PDescriptor
getName
in interface PDescriptor
@Nonnull public final String getQualifiedName(String programContext)
PDescriptor
getQualifiedName
in interface PDescriptor
programContext
- The program which the type should be referenced from.Copyright © 2015–2017 morimekta.net. All rights reserved.