Class MatchNode
- java.lang.Object
-
- org.jetbrains.java.decompiler.struct.match.MatchNode
-
public class MatchNode extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMatchNode.RuleValue
-
Field Summary
Fields Modifier and Type Field Description static intMATCHNODE_EXPRENTstatic intMATCHNODE_STATEMENT
-
Constructor Summary
Constructors Constructor Description MatchNode(int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(MatchNode child)voidaddRule(IMatchable.MatchProperties property, MatchNode.RuleValue value)java.util.List<MatchNode>getChildren()java.util.Map<IMatchable.MatchProperties,MatchNode.RuleValue>getRules()java.lang.ObjectgetRuleValue(IMatchable.MatchProperties property)intgetType()
-
-
-
Field Detail
-
MATCHNODE_STATEMENT
public static final int MATCHNODE_STATEMENT
- See Also:
- Constant Field Values
-
MATCHNODE_EXPRENT
public static final int MATCHNODE_EXPRENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
addChild
public void addChild(MatchNode child)
-
addRule
public void addRule(IMatchable.MatchProperties property, MatchNode.RuleValue value)
-
getType
public int getType()
-
getChildren
public java.util.List<MatchNode> getChildren()
-
getRules
public java.util.Map<IMatchable.MatchProperties,MatchNode.RuleValue> getRules()
-
getRuleValue
public java.lang.Object getRuleValue(IMatchable.MatchProperties property)
-
-