public class TypeNames
extends java.lang.Object
Constructor and Description |
---|
TypeNames() |
Modifier and Type | Method and Description |
---|---|
void |
addAll(TypeNames typeNames)
Adds all given entries to the existing
|
void |
addTypeName(java.lang.String typeName,
java.lang.String topLevelTypenName)
Adds an entry of a FQN of a type -> FQN of the corresponding topLevelType
|
java.lang.String |
getTopLevelTypeName(java.lang.String typeName)
Returns the corresponding toplevelType for a given typeName
|
java.util.Collection<java.lang.String> |
getTypeNames()
Returns all names of types in a Collection
|
boolean |
remove(java.lang.String typeName)
Remove a typeName including it's corresponding topLevelTypeName
|
public boolean remove(java.lang.String typeName)
typeName
- FQN of a type (Delimiter . and $ for nested types)public java.util.Collection<java.lang.String> getTypeNames()
public java.lang.String getTopLevelTypeName(java.lang.String typeName)
typeName
- FQN of a type (Delimiter . and $ for nested types)public void addTypeName(java.lang.String typeName, java.lang.String topLevelTypenName)
typeName
- FQN of a type (Delimiter . and $ for nested types)topLevelTypenName
- FQN of a topLevelType (Delimiter . )public void addAll(TypeNames typeNames)