public final class BindingKey
extends java.lang.Object
This class is not intended to be subclassed by clients.
Constructor and Description |
---|
BindingKey(java.lang.String key)
Creates a new binding key.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createArrayTypeBindingKey(java.lang.String typeKey,
int arrayDimension)
Creates a new array type binding key from the given type binding key and the given array dimension.
|
static java.lang.String |
createTypeBindingKey(java.lang.String typeName)
Creates a new type binding key from the given type name.
|
java.lang.String |
toSignature()
Transforms this binding key into a resolved signature.
|
java.lang.String |
toString() |
public BindingKey(java.lang.String key)
key
- the key to decodepublic static java.lang.String createArrayTypeBindingKey(java.lang.String typeKey, int arrayDimension)
For example:
createArrayTypeBindingKey("LObject;", 1) -> "[LObject;"
Note: This Method only applies to ECMAScript 4 which is not yet supported
typeKey
- the binding key of the given typearrayDimension
- the given array dimensionpublic static java.lang.String createTypeBindingKey(java.lang.String typeName)
For example:
createTypeBindingKey("String") -> "LString;"
Note: This Method only applies to ECMAScript 4 which is not yet supported
typeName
- the possibly qualified type namepublic java.lang.String toSignature()
Signature
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.