Package com.strobel.decompiler.patterns
Class TypedExpression
- java.lang.Object
-
- com.strobel.decompiler.patterns.Pattern
-
- com.strobel.decompiler.patterns.TypedExpression
-
-
Field Summary
Fields Modifier and Type Field Description private TypeReference
_expressionType
private java.lang.String
_groupName
private int
_options
private Function<AstNode,ResolveResult>
_resolver
static int
OPTION_ALLOW_UNCHECKED
static int
OPTION_EXACT
static int
OPTION_STRICT
-
Fields inherited from class com.strobel.decompiler.patterns.Pattern
ANY_STRING
-
Fields inherited from interface com.strobel.decompiler.patterns.INode
CHILD_ITERATOR
-
-
Constructor Summary
Constructors Constructor Description TypedExpression(TypeReference expressionType, Function<AstNode,ResolveResult> resolver)
TypedExpression(TypeReference expressionType, Function<AstNode,ResolveResult> resolver, int options)
TypedExpression(java.lang.String groupName, TypeReference expressionType, Function<AstNode,ResolveResult> resolver)
TypedExpression(java.lang.String groupName, TypeReference expressionType, Function<AstNode,ResolveResult> resolver, int options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeReference
getExpressionType()
java.lang.String
getGroupName()
boolean
matches(INode other, Match match)
-
Methods inherited from class com.strobel.decompiler.patterns.Pattern
getFirstChild, getNextSibling, getRole, isNull, match, matches, matchesCollection, matchesCollection, matchString, toBlockStatement, toCatchClause, toExpression, toMethodDeclaration, toNode, toParameterDeclaration, toStatement, toType, toVariableInitializer
-
-
-
-
Field Detail
-
OPTION_EXACT
public static final int OPTION_EXACT
- See Also:
- Constant Field Values
-
OPTION_STRICT
public static final int OPTION_STRICT
- See Also:
- Constant Field Values
-
OPTION_ALLOW_UNCHECKED
public static final int OPTION_ALLOW_UNCHECKED
- See Also:
- Constant Field Values
-
_expressionType
private final TypeReference _expressionType
-
_groupName
private final java.lang.String _groupName
-
_resolver
private final Function<AstNode,ResolveResult> _resolver
-
_options
private final int _options
-
-
Constructor Detail
-
TypedExpression
public TypedExpression(TypeReference expressionType, Function<AstNode,ResolveResult> resolver)
-
TypedExpression
public TypedExpression(TypeReference expressionType, Function<AstNode,ResolveResult> resolver, int options)
-
TypedExpression
public TypedExpression(java.lang.String groupName, TypeReference expressionType, Function<AstNode,ResolveResult> resolver)
-
TypedExpression
public TypedExpression(java.lang.String groupName, TypeReference expressionType, Function<AstNode,ResolveResult> resolver, int options)
-
-