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 booleanexactMatch(ResolvedType type, ResolvedPrimitiveType... types)protected booleanisResolvableTo(ResolvedPrimitiveType toType, ResolvedType resolvedType)protected booleanisResolvableTo(ResolvedPrimitiveType toType, ResolvedType resolvedType, boolean verifyBoxedType)protected booleanrelaxMatch(ResolvedType type, ResolvedPrimitiveType... types)ResolvedTyperesolveType()
-
-
-
Constructor Detail
-
NumericConditionalExprHandler
public NumericConditionalExprHandler(ResolvedType thenExpr, ResolvedType elseExpr)
-
-
Method Detail
-
resolveType
public ResolvedType resolveType()
- Specified by:
resolveTypein 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)
-
-