org.springframework.expression.spel.support
Class ReflectionHelper.ArgumentsMatchInfo

java.lang.Object
  extended by org.springframework.expression.spel.support.ReflectionHelper.ArgumentsMatchInfo
Enclosing class:
ReflectionHelper

public static class ReflectionHelper.ArgumentsMatchInfo
extends java.lang.Object

An instance of ArgumentsMatchInfo describes what kind of match was achieved between two sets of arguments - the set that a method/constructor is expecting and the set that are being supplied at the point of invocation. If the kind indicates that conversion is required for some of the arguments then the arguments that require conversion are listed in the argsRequiringConversion array.


Field Summary
 int[] argsRequiringConversion
           
 ReflectionHelper.ArgsMatchKind kind
           
 
Constructor Summary
ReflectionHelper.ArgumentsMatchInfo(ReflectionHelper.ArgsMatchKind kind)
           
ReflectionHelper.ArgumentsMatchInfo(ReflectionHelper.ArgsMatchKind kind, int[] integers)
           
 
Method Summary
 boolean isCloseMatch()
           
 boolean isExactMatch()
           
 boolean isMatchRequiringConversion()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

kind

public final ReflectionHelper.ArgsMatchKind kind

argsRequiringConversion

public int[] argsRequiringConversion
Constructor Detail

ReflectionHelper.ArgumentsMatchInfo

ReflectionHelper.ArgumentsMatchInfo(ReflectionHelper.ArgsMatchKind kind,
                                    int[] integers)

ReflectionHelper.ArgumentsMatchInfo

ReflectionHelper.ArgumentsMatchInfo(ReflectionHelper.ArgsMatchKind kind)
Method Detail

isExactMatch

public boolean isExactMatch()

isCloseMatch

public boolean isCloseMatch()

isMatchRequiringConversion

public boolean isMatchRequiringConversion()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object