com.lexicalscope.fluentreflection
Interface ReflectedMethod

All Superinterfaces:
ReflectedAnnotated, ReflectedCallable

public interface ReflectedMethod
extends ReflectedCallable


Method Summary
<T> ReflectedQuery<T>
castResultTo(Class<T> returnType)
           
 boolean isFinal()
           
 boolean isStatic()
           
 Method methodUnderReflection()
           
 String propertyName()
          The name of the method with any prefix of "get", "set" or "is" removed and the first subsequent character changed to lower case
 
Methods inherited from interface com.lexicalscope.fluentreflection.ReflectedCallable
argumentCount, argumentTypes, call, declaringClass, getName, returnType, visibility
 
Methods inherited from interface com.lexicalscope.fluentreflection.ReflectedAnnotated
annotatedWith, annotation, annotation
 

Method Detail

isStatic

boolean isStatic()
Returns:
true iff the method is static

isFinal

boolean isFinal()
Returns:
true iff the method is final

castResultTo

<T> ReflectedQuery<T> castResultTo(Class<T> returnType)

propertyName

String propertyName()
The name of the method with any prefix of "get", "set" or "is" removed and the first subsequent character changed to lower case

Returns:
The name of the method with any prefix of "get", "set" or "is" removed and the first subsequent character changed to lower case

methodUnderReflection

Method methodUnderReflection()


Copyright © 2011-2012 lexicalscope. All Rights Reserved.