Class StaticVariable
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.lvalue.AbstractLValue
org.benf.cfr.reader.bytecode.analysis.parse.lvalue.AbstractFieldVariable
org.benf.cfr.reader.bytecode.analysis.parse.lvalue.StaticVariable
- All Implemented Interfaces:
LValue
,DeepCloneable<LValue>
,Dumpable
,DumpableWithPrecedence
,TypeUsageCollectable
- Direct Known Subclasses:
WildcardMatch.StaticVariableWildcard
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.LValue
LValue.Creation
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
StaticVariable
(StaticVariable other, boolean knownSimple) StaticVariable
(InferredJavaType type, JavaTypeInstance clazz, String varName) StaticVariable
(ClassFile classFile, ClassFileField classFileField, boolean local) StaticVariable
(ConstantPoolEntry field) -
Method Summary
Modifier and TypeMethodDescriptionapplyExpressionRewriter
(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) deepClone
(CloneHelper cloneHelper) boolean
int
hashCode()
replaceSingleUsageLValues
(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer) Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.lvalue.AbstractFieldVariable
collectLValueAssignments, collectTypeUsages, collectVariableMutation, getClassFileField, getField, getFieldName, getNumberOfCreators, getOwningClassType, getRawFieldName, isFinal, isHiddenDeclaration, isVar, markFinal, markVar
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.lvalue.AbstractLValue
canThrow, collectLValueUsage, doesBlackListLValueReplacement, dump, dump, dumpWithOuterPrecedence, getAnnotatedCreationType, getInferredJavaType, outerDeepClone, toString, typeToString, validIterator
-
Field Details
-
knownSimple
private final boolean knownSimple
-
-
Constructor Details
-
StaticVariable
-
StaticVariable
-
StaticVariable
-
StaticVariable
-
-
Method Details
-
getSimpleCopy
-
getNonSimpleCopy
-
getPrecedence
- Specified by:
getPrecedence
in interfaceDumpableWithPrecedence
- Specified by:
getPrecedence
in classAbstractLValue
-
dumpInner
- Specified by:
dumpInner
in classAbstractLValue
-
deepClone
-
replaceSingleUsageLValues
public LValue replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer) -
applyExpressionRewriter
public LValue applyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) -
equals
- Overrides:
equals
in classAbstractFieldVariable
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractFieldVariable
-