Package org.benf.cfr.reader.state
Class ClassFileRelocator.RenamingRelocator
- java.lang.Object
-
- org.benf.cfr.reader.state.ClassFileRelocator.RenamingRelocator
-
- All Implemented Interfaces:
ClassFileRelocator
- Enclosing interface:
- ClassFileRelocator
public static class ClassFileRelocator.RenamingRelocator extends java.lang.Object implements ClassFileRelocator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ClassFileRelocator.RenamingRelocator.FileDets
-
Nested classes/interfaces inherited from interface org.benf.cfr.reader.state.ClassFileRelocator
ClassFileRelocator.Configurator, ClassFileRelocator.NopRelocator, ClassFileRelocator.PrefixRelocator, ClassFileRelocator.RenamingRelocator
-
-
Field Summary
Fields Modifier and Type Field Description private ClassFileRelocator
base
private ClassFileRelocator.RenamingRelocator.FileDets
classFile
private ClassFileRelocator.RenamingRelocator.FileDets
file
private java.lang.String
filePath
-
Constructor Summary
Constructors Constructor Description RenamingRelocator(ClassFileRelocator base, java.lang.String classPath, java.lang.String filePath, java.lang.String className, java.lang.String fileName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
correctPath(java.lang.String path)
private ClassFileRelocator.RenamingRelocator.FileDets
getDets(java.lang.String path, java.lang.String name)
(package private) static Pair<java.lang.String,java.lang.String>
stripExt(java.lang.String name)
-
-
-
Field Detail
-
filePath
private final java.lang.String filePath
-
base
private final ClassFileRelocator base
-
classFile
private final ClassFileRelocator.RenamingRelocator.FileDets classFile
-
file
private final ClassFileRelocator.RenamingRelocator.FileDets file
-
-
Constructor Detail
-
RenamingRelocator
public RenamingRelocator(ClassFileRelocator base, java.lang.String classPath, java.lang.String filePath, java.lang.String className, java.lang.String fileName)
-
-
Method Detail
-
getDets
private ClassFileRelocator.RenamingRelocator.FileDets getDets(java.lang.String path, java.lang.String name)
-
stripExt
static Pair<java.lang.String,java.lang.String> stripExt(java.lang.String name)
-
correctPath
public java.lang.String correctPath(java.lang.String path)
- Specified by:
correctPath
in interfaceClassFileRelocator
-
-