Class EnumClassRewriter
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.EnumClassRewriter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClassFileprivate final JavaTypeInstanceprivate final InferredJavaTypeprivate final Optionsprivate final DCCommonState -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEnumClassRewriter(ClassFile classFile, JavaTypeInstance classType, DCCommonState state) -
Method Summary
Modifier and TypeMethodDescriptionanalyseStaticMethod(Op04StructuredStatement statement) getJava15Values(Op04StructuredStatement container, MethodPrototype methodPrototype) private voidprivate booleanrewrite()static voidrewriteEnumClass(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) -
getJava15Values
private EnumClassRewriter.CollectedEnumData<NewAnonymousArray> getJava15Values(Op04StructuredStatement container, MethodPrototype methodPrototype)
-