Class EnumClassRewriter
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.EnumClassRewriter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClassFile
private final JavaTypeInstance
private final InferredJavaType
private final Options
private final DCCommonState
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
EnumClassRewriter
(ClassFile classFile, JavaTypeInstance classType, DCCommonState state) -
Method Summary
Modifier and TypeMethodDescriptionanalyseStaticMethod
(Op04StructuredStatement statement) private void
private boolean
rewrite()
static void
rewriteEnumClass
(ClassFile classFile, DCCommonState state)
-
Field Details
-
classFile
-
classType
-
state
-
clazzIJT
-
options
-
-
Constructor Details
-
EnumClassRewriter
-
-
Method Details
-
rewriteEnumClass
-
removeAllRemainingSupers
private void removeAllRemainingSupers() -
rewrite
private boolean rewrite() -
analyseStaticMethod
private EnumClassRewriter.EnumInitMatchCollector analyseStaticMethod(Op04StructuredStatement statement)
-