public class NameQueries extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NameQueries.NameAllocation<T> |
static class |
NameQueries.TuplePartAllocation |
Constructor and Description |
---|
NameQueries() |
Modifier and Type | Method and Description |
---|---|
static String |
getUniqueText(Element context,
Constraint constraint)
Return a valid Java identifier suffix encoding of string that is unique within the scope of element.
|
static String |
getUniqueText(Element context,
Operation operation)
Return a valid Java identifier suffix encoding of an operation name that is unique within the scope of element.
|
static String |
getUniqueText(Element context,
Package pkg)
Return a valid Java identifier suffix encoding of a property name that is unique within the scope of element.
|
static String |
getUniqueText(Element context,
Property property)
Return a valid Java identifier suffix encoding of a property name that is unique within the scope of element.
|
static String |
getUniqueText(Element context,
String string)
Return a valid Java identifier suffix encoding of string that is unique within the scope of element.
|
static String |
getUniqueText(Element context,
TupleLiteralPart part)
Return a valid Java identifier suffix encoding of a property name that is unique within the scope of element.
|
static String |
getUniqueText(Element context,
TupleType type)
Return a valid Java identifier suffix encoding of a property name that is unique within the scope of element.
|
static String |
getUniqueText(Element context,
Type type)
Return a valid Java identifier suffix encoding of a property name that is unique within the scope of element.
|
static String |
getUniqueText(Element context,
Variable variable)
Return a valid Java identifier suffix encoding of a variable name that is unique within the scope of element.
|
public static String getUniqueText(Element context, Constraint constraint)
public static String getUniqueText(Element context, Operation operation)
public static String getUniqueText(Element context, Package pkg)
public static String getUniqueText(Element context, Property property)
public static String getUniqueText(Element context, String string)
public static String getUniqueText(Element context, TupleLiteralPart part)
public static String getUniqueText(Element context, TupleType type)
public static String getUniqueText(Element context, Type type)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.