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
ConstructorsModifierConstructorDescriptionprivateStaticVariable(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) booleancanThrow(ExceptionCheck caught) deepClone(CloneHelper cloneHelper) booleaninthashCode()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, isFakeIgnored, isFinal, isHiddenDeclaration, isVar, markFinal, markVarMethods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.lvalue.AbstractLValue
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:
getPrecedencein interfaceDumpableWithPrecedence- Specified by:
getPrecedencein classAbstractLValue
-
canThrow
- Specified by:
canThrowin interfaceLValue- Overrides:
canThrowin classAbstractLValue
-
dumpInner
- Specified by:
dumpInnerin 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:
equalsin classAbstractFieldVariable
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractFieldVariable
-