| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected SignatureVisitor | Returns: the newly created remapper.the SignatureVisitor the remapper must delegate to. signatureVisitor)
Deprecated
use
Constructs a new remapper for signatures.
createSignatureRemapper instead.
|
| protected SignatureVisitor | Returns: the newly created remapper.the SignatureVisitor the remapper must delegate to. signatureVisitor)Constructs a new remapper for signatures. |
| public String | Returns: the new internal name (seeType#getInternalName()).the internal name of a class (see internalName)Type#getInternalName()).Maps the internal name of a class to its new name. |
| public String | Returns: the new name of the annotation attribute.the descriptor of the annotation class. descriptor, final String the name of the annotation attribute. name)Maps an annotation attribute name. |
| public String | Returns: the given descriptor, with its [array element type] internal name remapped withmap(String) (if the descriptor corresponds to an array or object type, otherwise the
descriptor is returned as is). See Type#getInternalName().a type descriptor. descriptor)Returns the given descriptor, remapped with |
| public String | Returns: the new name of the field.the internal name of the owner class of the field (see owner, final String Type#getInternalName()).the name of the field. name, final String the descriptor of the field. descriptor)Maps a field name to its new name. |
| public String | Returns: the new inner name of the inner class.the fully-qualified internal name of the inner class (see name, final String Type#getInternalName()).the internal name of the owner class of the inner class (see ownerName, final String Type#getInternalName()).the internal name of the inner class (see innerName)Type#getInternalName()).Maps an inner class name to its new name. |
| public String | Returns: the new name of the method.the name of the method. name, final String the descriptor of the method. descriptor)Maps an invokedynamic or a constant dynamic method name to its new name. |
| public String | Returns: the given method descriptor, with its argument and return type descriptors remapped withmapDesc(String).a method descriptor. methodDescriptor)Returns the given method descriptor, with its argument and return type descriptors remapped
with |
| public String | Returns: the new name of the method.the internal name of the owner class of the method (see owner, final String Type#getInternalName()).the name of the method. name, final String the descriptor of the method. descriptor)Maps a method name to its new name. |
| public String | Returns: the new name of the module.the fully qualified name (using dots) of a module. name)Maps a module name to its new name. |
| public String | Returns: the new name of the package.the fully qualified name of the package (using dots). name)Maps a package name to its new name. |
| public String | Returns: the new name of the field.the internal name of the owner class of the field (see owner, final String Type#getInternalName()).the name of the field. name, final String the descriptor of the field. descriptor)Maps a record component name to its new name. |
| public String | Returns: signature the given signature, remapped with theSignatureVisitor returned by
createSignatureRemapper(SignatureVisitor).a JavaTypeSignature, ClassSignature or MethodSignature. signature, final boolean whether the given signature is a JavaTypeSignature. typeSignature)Returns the given signature, remapped with the |
| private Type | Returns: the given type, with its [array element type] internal name remapped withmap(String) (if the type is an array or object type, otherwise the type is returned as
is) or, of the type is a method type, with its descriptor remapped with mapMethodDesc(String). See Type#getInternalName().a type, which can be a method type. type)Returns the given |
| public String | mapType(final String
the internal name (or array type descriptor) of some (array) class (see
internalName)Type#getInternalName()).Returns the given internal name, remapped with |
| public String[] | mapTypes(final String[]
the internal names (or array type descriptors) of some (array) classes
(see internalNames)Type#getInternalName()).Returns the given internal names, remapped with |
| public Object |
| Remapper | back to summary |
|---|---|
| public Remapper() | |
| createRemappingSignatureAdapter | back to summary |
|---|---|
| protected SignatureVisitor createRemappingSignatureAdapter(final SignatureVisitor signatureVisitor)
Deprecated use Constructs a new remapper for signatures. The default implementation of this method returns a
new
| |
| createSignatureRemapper | back to summary |
|---|---|
| protected SignatureVisitor createSignatureRemapper(final SignatureVisitor signatureVisitor) Constructs a new remapper for signatures. The default implementation of this method returns a
new
| |
| map | back to summary |
|---|---|
| public String map(final String internalName) Maps the internal name of a class to its new name. The default implementation of this method returns the given name, unchanged. Subclasses can override.
| |
| mapAnnotationAttributeName | back to summary |
|---|---|
| public String mapAnnotationAttributeName(final String descriptor, final String name) Maps an annotation attribute name. The default implementation of this method returns the given name, unchanged. Subclasses can override. | |
| mapDesc | back to summary |
|---|---|
| public String mapDesc(final String descriptor) Returns the given descriptor, remapped with
| |
| mapFieldName | back to summary |
|---|---|
| public String mapFieldName(final String owner, final String name, final String descriptor) Maps a field name to its new name. The default implementation of this method returns the given name, unchanged. Subclasses can override.
| |
| mapInnerClassName | back to summary |
|---|---|
| public String mapInnerClassName(final String name, final String ownerName, final String innerName) Maps an inner class name to its new name. The default implementation of this method provides a strategy that will work for inner classes produced by Java, but not necessarily other languages. Subclasses can override.
| |
| mapInvokeDynamicMethodName | back to summary |
|---|---|
| public String mapInvokeDynamicMethodName(final String name, final String descriptor) Maps an invokedynamic or a constant dynamic method name to its new name. The default implementation of this method returns the given name, unchanged. Subclasses can override. | |
| mapMethodDesc | back to summary |
|---|---|
| public String mapMethodDesc(final String methodDescriptor) Returns the given method descriptor, with its argument and return type descriptors remapped
with
| |
| mapMethodName | back to summary |
|---|---|
| public String mapMethodName(final String owner, final String name, final String descriptor) Maps a method name to its new name. The default implementation of this method returns the given name, unchanged. Subclasses can override.
| |
| mapModuleName | back to summary |
|---|---|
| public String mapModuleName(final String name) Maps a module name to its new name. The default implementation of this method returns the given name, unchanged. Subclasses can override. | |
| mapPackageName | back to summary |
|---|---|
| public String mapPackageName(final String name) Maps a package name to its new name. The default implementation of this method returns the given name, unchanged. Subclasses can override. | |
| mapRecordComponentName | back to summary |
|---|---|
| public String mapRecordComponentName(final String owner, final String name, final String descriptor) Maps a record component name to its new name. The default implementation of this method returns the given name, unchanged. Subclasses can override.
| |
| mapSignature | back to summary |
|---|---|
| public String mapSignature(final String signature, final boolean typeSignature) Returns the given signature, remapped with the
| |
| mapType | back to summary |
|---|---|
| private Type mapType(final Type type) Returns the given
| |
| mapType | back to summary |
|---|---|
| public String mapType(final String internalName) Returns the given internal name, remapped with
| |
| mapTypes | back to summary |
|---|---|
| public String[] mapTypes(final String[] internalNames) Returns the given internal names, remapped with
| |
| mapValue | back to summary |
|---|---|
| public Object mapValue(final Object value) Returns the given value, remapped with this remapper. Possible values are
| |