Class TypedExpression
java.lang.Object
com.strobel.decompiler.patterns.Pattern
com.strobel.decompiler.patterns.TypedExpression
- All Implemented Interfaces:
INode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeReferenceprivate final Stringprivate final intprivate final Function<AstNode, ResolveResult> static final intstatic final intstatic final intFields inherited from class Pattern
ANY_STRINGFields inherited from interface INode
CHILD_ITERATOR -
Constructor Summary
ConstructorsConstructorDescriptionTypedExpression(TypeReference expressionType, Function<AstNode, ResolveResult> resolver) TypedExpression(TypeReference expressionType, Function<AstNode, ResolveResult> resolver, int options) TypedExpression(String groupName, TypeReference expressionType, Function<AstNode, ResolveResult> resolver) TypedExpression(String groupName, TypeReference expressionType, Function<AstNode, ResolveResult> resolver, int options) -
Method Summary
Methods inherited from class Pattern
getFirstChild, getNextSibling, getRole, isNull, match, matches, matchesCollection, matchesCollection, matchString, toBlockStatement, toCatchClause, toExpression, toMethodDeclaration, toNode, toParameterDeclaration, toStatement, toType, toVariableInitializer
-
Field Details
-
OPTION_EXACT
public static final int OPTION_EXACT- See Also:
-
OPTION_STRICT
public static final int OPTION_STRICT- See Also:
-
OPTION_ALLOW_UNCHECKED
public static final int OPTION_ALLOW_UNCHECKED- See Also:
-
_expressionType
-
_groupName
-
_resolver
-
_options
private final int _options
-
-
Constructor Details
-
TypedExpression
-
TypedExpression
public TypedExpression(TypeReference expressionType, Function<AstNode, ResolveResult> resolver, int options) -
TypedExpression
public TypedExpression(String groupName, TypeReference expressionType, Function<AstNode, ResolveResult> resolver) -
TypedExpression
public TypedExpression(String groupName, TypeReference expressionType, Function<AstNode, ResolveResult> resolver, int options)
-
-
Method Details
-
getExpressionType
-
getGroupName
-
matches
-