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_expressionTypeprivate java.lang.String_groupNameprivate int_optionsprivate Function<AstNode,ResolveResult>_resolverstatic intOPTION_ALLOW_UNCHECKEDstatic intOPTION_EXACTstatic intOPTION_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 TypeReferencegetExpressionType()java.lang.StringgetGroupName()booleanmatches(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)
-
-