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, wait
getType
public final String getPackageName()
PDescriptor
getPackageName
in interface PDescriptor
public final String getName()
PDescriptor
getName
in interface PDescriptor
public final String getQualifiedName(String packageName)
PDescriptor
getQualifiedName
in interface PDescriptor
packageName
- The package which the name should be referenced from.Copyright © 2015–2016 morimekta.net. All rights reserved.