|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Supports symbol aliasing, i.e. More...
Classes | |
| class | AliasedSymbolImpl |
| class | NoneAliasedSymbol |
Public Member Functions | |
| void | rename (final String newName) |
Rename this symbol with the given newName if not equal current-name. More... | |
| void | addAliasedName (final String origName) |
Add the given origName to the list of aliases if not equal current-name. More... | |
| boolean | hasAliases () |
Returns true if this symbol has aliases, i.e. More... | |
| Set< String > | getAliasedNames () |
| Return all aliases for this symbol, i.e. More... | |
| String | getOrigName () |
| Return the original-name as set at creation. More... | |
| String | getName () |
Return the current-name, which is the last renamed-name if issued, or the original-name. More... | |
| String | getAliasedString () |
Return this object's toString() wrapped w/ the current-name and all aliases. More... | |
Supports symbol aliasing, i.e.
renaming, while preserving all its original names, i.e. aliases.
Definition at line 37 of file AliasedSymbol.java.
| void com.jogamp.gluegen.cgram.types.AliasedSymbol.addAliasedName | ( | final String | origName | ) |
Add the given origName to the list of aliases if not equal current-name.
Operation will be ignored if newName is null.
| origName | the new alias to be added, maybe null |
Implemented in com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl, com.jogamp.gluegen.cgram.types.AliasedSymbol.NoneAliasedSymbol, and com.jogamp.gluegen.cgram.types.CompoundType.
| Set< String > com.jogamp.gluegen.cgram.types.AliasedSymbol.getAliasedNames | ( | ) |
Return all aliases for this symbol, i.e.
original names, for this symbol.
Inclusive original-name, if renamed,
Exclusive current-name.
May return null or a zero sized Set for no aliases.
Implemented in com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl, com.jogamp.gluegen.cgram.types.AliasedSymbol.NoneAliasedSymbol, and com.jogamp.gluegen.cgram.types.CompoundType.
| String com.jogamp.gluegen.cgram.types.AliasedSymbol.getAliasedString | ( | ) |
Return this object's toString() wrapped w/ the current-name and all aliases.
Implemented in com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl, com.jogamp.gluegen.cgram.types.AliasedSymbol.NoneAliasedSymbol, and com.jogamp.gluegen.cgram.types.CompoundType.
| String com.jogamp.gluegen.cgram.types.AliasedSymbol.getName | ( | ) |
Return the current-name, which is the last renamed-name if issued, or the original-name.
Implemented in com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl, and com.jogamp.gluegen.cgram.types.AliasedSymbol.NoneAliasedSymbol.
| String com.jogamp.gluegen.cgram.types.AliasedSymbol.getOrigName | ( | ) |
Return the original-name as set at creation.
Implemented in com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl, com.jogamp.gluegen.cgram.types.AliasedSymbol.NoneAliasedSymbol, and com.jogamp.gluegen.cgram.types.CompoundType.
| boolean com.jogamp.gluegen.cgram.types.AliasedSymbol.hasAliases | ( | ) |
Returns true if this symbol has aliases, i.e.
either being renamed or aliases-added.
Otherwise false is being returned.
Implemented in com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl, com.jogamp.gluegen.cgram.types.AliasedSymbol.NoneAliasedSymbol, and com.jogamp.gluegen.cgram.types.CompoundType.
| void com.jogamp.gluegen.cgram.types.AliasedSymbol.rename | ( | final String | newName | ) |
Rename this symbol with the given newName if not equal current-name.
Before renaming the current-name will be added to the list of aliases. while the given newName will be removed.
Operation will be ignored if newName is null.
| newName | the new current-name, maybe null |
Implemented in com.jogamp.gluegen.cgram.types.AliasedSymbol.AliasedSymbolImpl, com.jogamp.gluegen.cgram.types.AliasedSymbol.NoneAliasedSymbol, and com.jogamp.gluegen.cgram.types.CompoundType.