public abstract class PDeclaredDescriptor<T> extends Object implements PDescriptor<T>
| Modifier | Constructor and Description |
|---|---|
protected |
PDeclaredDescriptor(String comment,
String packageName,
String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract PBuilderFactory<T> |
factory()
Get the builder for the given declared type.
|
String |
getComment()
The type comment is the last block of comment written before the type
declaration.
|
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 getComment()
public final String getPackageName()
PDescriptorgetPackageName in interface PDescriptor<T>public final String getName()
PDescriptorgetName in interface PDescriptor<T>public final String getQualifiedName(String packageName)
PDescriptorgetQualifiedName in interface PDescriptor<T>public abstract PBuilderFactory<T> factory()
Copyright © 2016. All rights reserved.