public abstract static class ClassFileDecompilers.Light extends java.lang.Object implements ClassFileDecompilers.Decompiler
"Light" decompilers are intended for augmenting file text constructed by standard IDEA decompiler without changing it's structure - i.e. providing additional information in comments, or replacing standard "compiled code" method body comment with something more meaningful.
If a plugin by somewhat reason cannot decompile a file it can throw ClassFileDecompilers.Light.CannotDecompileException
and thus make IDEA to fall back to a built-in decompiler implementation.
Plugins registering extension of this type normally should accept all files and use order="last"
attribute to avoid interfering with other decompilers.
Modifier and Type | Class and Description |
---|---|
static class |
ClassFileDecompilers.Light.CannotDecompileException |
Constructor and Description |
---|
Light() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.CharSequence |
getText(VirtualFile file) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accepts
public abstract java.lang.CharSequence getText(VirtualFile file) throws ClassFileDecompilers.Light.CannotDecompileException