Class FieldExprent
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.FieldExprent
-
- All Implemented Interfaces:
IMatchable
public class FieldExprent extends Exprent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
Exprent.Type
-
Nested classes/interfaces inherited from interface org.jetbrains.java.decompiler.struct.match.IMatchable
IMatchable.MatchProperties
-
-
Field Summary
-
Fields inherited from class org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
BOTH_FLAGS, bytecode, id, inferredLambdaTypes, MULTIPLE_USES, SIDE_EFFECTS_FREE, type
-
-
Constructor Summary
Constructors Constructor Description FieldExprent(java.lang.String name, java.lang.String classname, boolean isStatic, Exprent instance, FieldDescriptor descriptor, java.util.BitSet bytecodeOffsets)FieldExprent(java.lang.String name, java.lang.String classname, boolean isStatic, Exprent instance, FieldDescriptor descriptor, java.util.BitSet bytecodeOffsets, boolean forceQualified, boolean wasCondy)FieldExprent(LinkConstant cn, Exprent instance, java.util.BitSet bytecodeOffsets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowNewlineAfterQualifier()Exprentcopy()booleanequals(java.lang.Object o)voidforceQualified(boolean value)java.util.List<Exprent>getAllExprents(java.util.List<Exprent> lst)voidgetBytecodeRange(java.util.BitSet values)java.lang.StringgetClassname()FieldDescriptorgetDescriptor()intgetExprentUse()VarTypegetExprType()VarTypegetInferredExprType(VarType upperBound)ExprentgetInstance()java.lang.StringgetName()booleanisStatic()booleanmatch(MatchNode matchNode, MatchEngine engine)voidreplaceExprent(Exprent oldExpr, Exprent newExpr)voidsetIsQualifier()TextBuffertoJava(int indent)-
Methods inherited from class org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
addBytecodeOffsets, appendParameters, checkExprTypeBounds, containsExprent, containsVar, findObject, gatherGenerics, getAllExprents, getAllExprents, getAllExprents, getAllVariables, getGenericArgs, getNamedGenerics, getPrecedence, measureBytecode, measureBytecode, measureBytecode, setInvocationInstance, sortIndexed, toJava, toString
-
-
-
-
Constructor Detail
-
FieldExprent
public FieldExprent(LinkConstant cn, Exprent instance, java.util.BitSet bytecodeOffsets)
-
FieldExprent
public FieldExprent(java.lang.String name, java.lang.String classname, boolean isStatic, Exprent instance, FieldDescriptor descriptor, java.util.BitSet bytecodeOffsets)
-
FieldExprent
public FieldExprent(java.lang.String name, java.lang.String classname, boolean isStatic, Exprent instance, FieldDescriptor descriptor, java.util.BitSet bytecodeOffsets, boolean forceQualified, boolean wasCondy)
-
-
Method Detail
-
getExprType
public VarType getExprType()
- Overrides:
getExprTypein classExprent
-
getInferredExprType
public VarType getInferredExprType(VarType upperBound)
- Overrides:
getInferredExprTypein classExprent
-
getExprentUse
public int getExprentUse()
- Overrides:
getExprentUsein classExprent
-
getAllExprents
public java.util.List<Exprent> getAllExprents(java.util.List<Exprent> lst)
- Specified by:
getAllExprentsin classExprent
-
toJava
public TextBuffer toJava(int indent)
-
replaceExprent
public void replaceExprent(Exprent oldExpr, Exprent newExpr)
- Overrides:
replaceExprentin classExprent
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
getClassname
public java.lang.String getClassname()
-
getDescriptor
public FieldDescriptor getDescriptor()
-
getInstance
public Exprent getInstance()
-
isStatic
public boolean isStatic()
-
getName
public java.lang.String getName()
-
forceQualified
public void forceQualified(boolean value)
-
getBytecodeRange
public void getBytecodeRange(java.util.BitSet values)
- Specified by:
getBytecodeRangein classExprent
-
setIsQualifier
public void setIsQualifier()
- Overrides:
setIsQualifierin classExprent
-
allowNewlineAfterQualifier
public boolean allowNewlineAfterQualifier()
- Overrides:
allowNewlineAfterQualifierin classExprent
-
match
public boolean match(MatchNode matchNode, MatchEngine engine)
- Specified by:
matchin interfaceIMatchable- Overrides:
matchin classExprent
-
-