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
public class StaticVariable extends AbstractFieldVariable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.LValue
LValue.Creation
-
-
Field Summary
Fields Modifier and Type Field Description private booleanknownSimple
-
Constructor Summary
Constructors Modifier Constructor Description privateStaticVariable(StaticVariable other, boolean knownSimple)StaticVariable(InferredJavaType type, JavaTypeInstance clazz, java.lang.String varName)StaticVariable(ClassFile classFile, ClassFileField classFileField, boolean local)StaticVariable(ConstantPoolEntry field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LValueapplyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)booleancanThrow(ExceptionCheck caught)LValuedeepClone(CloneHelper cloneHelper)DumperdumpInner(Dumper d)booleanequals(java.lang.Object o)StaticVariablegetNonSimpleCopy()PrecedencegetPrecedence()StaticVariablegetSimpleCopy()inthashCode()LValuereplaceSingleUsageLValues(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, markVar
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.lvalue.AbstractLValue
collectLValueUsage, doesBlackListLValueReplacement, dump, dump, dumpWithOuterPrecedence, getAnnotatedCreationType, getInferredJavaType, outerDeepClone, toString, typeToString, validIterator
-
-
-
-
Constructor Detail
-
StaticVariable
public StaticVariable(ConstantPoolEntry field)
-
StaticVariable
public StaticVariable(InferredJavaType type, JavaTypeInstance clazz, java.lang.String varName)
-
StaticVariable
public StaticVariable(ClassFile classFile, ClassFileField classFileField, boolean local)
-
StaticVariable
private StaticVariable(StaticVariable other, boolean knownSimple)
-
-
Method Detail
-
getSimpleCopy
public StaticVariable getSimpleCopy()
-
getNonSimpleCopy
public StaticVariable getNonSimpleCopy()
-
getPrecedence
public Precedence getPrecedence()
- Specified by:
getPrecedencein interfaceDumpableWithPrecedence- Specified by:
getPrecedencein classAbstractLValue
-
canThrow
public boolean canThrow(ExceptionCheck caught)
- Specified by:
canThrowin interfaceLValue- Overrides:
canThrowin classAbstractLValue
-
dumpInner
public Dumper dumpInner(Dumper d)
- Specified by:
dumpInnerin classAbstractLValue
-
deepClone
public LValue deepClone(CloneHelper cloneHelper)
-
replaceSingleUsageLValues
public LValue replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer)
-
applyExpressionRewriter
public LValue applyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractFieldVariable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractFieldVariable
-
-