Class ContextUnit
- java.lang.Object
-
- org.jetbrains.java.decompiler.struct.ContextUnit
-
public class ContextUnit extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ContextUnit(IContextSource source, boolean own, boolean root, IResultSaver resultSaver, IDecompiledData decompiledData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()java.util.List<IContextSource>getChildContexts()byte[]getClassBytes(java.lang.String className)java.util.List<java.lang.String>getClassNames()java.util.List<java.lang.String>getDirectoryNames()java.lang.StringgetName()java.util.List<IContextSource.Entry>getOtherEntries()booleanisOwn()booleanisRoot()voidsave(java.util.function.Function<java.lang.String,StructClass> loader)voidsetContext(DecompilerContext rootContext)
-
-
-
Constructor Detail
-
ContextUnit
public ContextUnit(IContextSource source, boolean own, boolean root, IResultSaver resultSaver, IDecompiledData decompiledData)
-
-
Method Detail
-
getClassNames
public java.util.List<java.lang.String> getClassNames()
-
getClassBytes
public byte[] getClassBytes(java.lang.String className) throws java.io.IOException- Throws:
java.io.IOException
-
getDirectoryNames
public java.util.List<java.lang.String> getDirectoryNames()
-
getOtherEntries
public java.util.List<IContextSource.Entry> getOtherEntries()
-
getChildContexts
public java.util.List<IContextSource> getChildContexts()
-
getName
public java.lang.String getName()
-
clear
public void clear() throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.util.function.Function<java.lang.String,StructClass> loader) throws java.io.IOException
- Throws:
java.io.IOException
-
setContext
public void setContext(DecompilerContext rootContext)
-
isOwn
public boolean isOwn()
-
isRoot
public boolean isRoot()
-
-