public abstract class PDeclaredDescriptor<T> extends Object implements PDescriptor
| Modifier | Constructor and Description |
|---|---|
protected |
PDeclaredDescriptor(String packageName,
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 |
getPackageName()
The package name is derived form the .thrift file name that is parsed or
if read from serialized format is explicit.
|
String |
getQualifiedName(String packageName)
This will return the qualifying name of the type given package context.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypepublic final String getPackageName()
PDescriptorgetPackageName in interface PDescriptorpublic final String getName()
PDescriptorgetName in interface PDescriptorpublic final String getQualifiedName(String packageName)
PDescriptorgetQualifiedName in interface PDescriptorpackageName - The package which the name should be referenced from.Copyright © 2016. All rights reserved.