|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FluentMember
Reflection information about a class member, such as a field or method.
Method Summary | ||
---|---|---|
int |
argCount()
The number of arguments that the member takes when called |
|
List<FluentClass<?>> |
args()
The types of the arguments used when the member is called |
|
|
as(Class<T> returnType)
Used to cast the result of a call on this member |
|
FluentObject<?> |
call(Object... args)
Call the member using the given arguments |
|
Object |
callRaw(Object... args)
Call the member using the given arguments |
|
FluentClass<?> |
declarer()
Type that declares the member |
|
boolean |
isFinal()
true iff the member is final |
|
boolean |
isStatic()
true iff the member is static |
|
Member |
member()
The underlying member (class, field, constructor) |
|
String |
name()
The name of the member. |
|
String |
property()
The name of the member as a property name. |
|
FluentClass<?> |
type()
The type of the member (the type of the field, or the return type of the method) |
|
Visibility |
visibility()
the visibility of the member |
Methods inherited from interface com.lexicalscope.fluentreflection.FluentAnnotated |
---|
annotatedWith, annotatedWith, annotation, annotation |
Method Detail |
---|
FluentClass<?> declarer()
Member member()
String name()
String property()
int argCount()
List<FluentClass<?>> args()
FluentClass<?> type()
Object callRaw(Object... args)
args
- the arguments to use in the call
FluentObject<?> call(Object... args)
args
- the arguments to use in the call
<T> FluentCall<T> as(Class<T> returnType)
returnType
- the type expected as the result of the call
boolean isStatic()
boolean isFinal()
Visibility visibility()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |