| Modifier and Type | Method and Description |
|---|---|
| public default String | Returns: a bytecode descriptor of this declaration, nevernullReturns a bytecode descriptor of this element. |
| public String | Returns: a bytecode descriptor of this declaration, nevernulla substitution function from type variable identifiers to types typeVariableSubstitution)Returns a bytecode descriptor of this element. |
| public static void | forType(Type
a type whose bytecode descriptor is appended to type, Function<String, Type> resulta substitution function from type variable identifiers to types typeVariableSubstitution, StringBuilder the result)StringBuilder to which the bytecode descriptor is appendedAppends a bytecode descriptor of a single type to given |
| NO_SUBSTITUTION | back to summary |
|---|---|
| public static final Function<String, Type> NO_SUBSTITUTION | |
| descriptor | back to summary |
|---|---|
| public default String descriptor() Returns a bytecode descriptor of this element. Note that the return value does not come directly from bytecode. Jandex does not store the descriptor strings. Instead, the return value is reconstructed from the Jandex object model.
| |
| descriptor | back to summary |
|---|---|
| public String descriptor(Function<String, Type> typeVariableSubstitution) Returns a bytecode descriptor of this element.
Descriptors of type variables are substituted for descriptors of types provided by the substitution
function Note that the return value does not come directly from bytecode. Jandex does not store the descriptor strings. Instead, the return value is reconstructed from the Jandex object model. | |
| forType | back to summary |
|---|---|
| public static void forType(Type type, Function<String, Type> typeVariableSubstitution, StringBuilder result) Appends a bytecode descriptor of a single type to given
Descriptors of type variables are substituted for descriptors of types provided by the substitution
function
| |