Class NumericConditionalExprHandler
- java.lang.Object
-
- com.github.javaparser.symbolsolver.resolution.promotion.NumericConditionalExprHandler
-
- All Implemented Interfaces:
ConditionalExprHandler
public class NumericConditionalExprHandler extends Object implements ConditionalExprHandler
-
-
Constructor Summary
Constructors Constructor Description NumericConditionalExprHandler(ResolvedType thenExpr, ResolvedType elseExpr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
exactMatch(ResolvedType type, ResolvedPrimitiveType... types)
protected boolean
isResolvableTo(ResolvedPrimitiveType toType, ResolvedType resolvedType)
protected boolean
isResolvableTo(ResolvedPrimitiveType toType, ResolvedType resolvedType, boolean verifyBoxedType)
protected boolean
relaxMatch(ResolvedType type, ResolvedPrimitiveType... types)
ResolvedType
resolveType()
-
-
-
Constructor Detail
-
NumericConditionalExprHandler
public NumericConditionalExprHandler(ResolvedType thenExpr, ResolvedType elseExpr)
-
-
Method Detail
-
resolveType
public ResolvedType resolveType()
- Specified by:
resolveType
in interfaceConditionalExprHandler
-
exactMatch
protected boolean exactMatch(ResolvedType type, ResolvedPrimitiveType... types)
-
relaxMatch
protected boolean relaxMatch(ResolvedType type, ResolvedPrimitiveType... types)
-
isResolvableTo
protected boolean isResolvableTo(ResolvedPrimitiveType toType, ResolvedType resolvedType)
-
isResolvableTo
protected boolean isResolvableTo(ResolvedPrimitiveType toType, ResolvedType resolvedType, boolean verifyBoxedType)
-
-