|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the underlying type being reflected onpublic interface FluentClass<T>
Reflection information about a class.
Method Summary | |
---|---|
FluentClass<?> |
asType(org.hamcrest.Matcher<FluentClass<?>> typeMatcher)
Get this type as the first matching the supplied matcher. |
FluentObject<T> |
construct(Object... args)
Construct an object of the type under reflection |
FluentConstructor<T> |
constructor(org.hamcrest.Matcher<? super FluentConstructor<?>> constructorMatcher)
Find the first constructor method matching the supplied matcher |
List<FluentConstructor<T>> |
constructors(org.hamcrest.Matcher<? super FluentConstructor<?>> constructorMatcher)
Find all constructors matching the supplied matcher |
T |
constructRaw(Object... args)
Construct an object of the type under reflection |
boolean |
isInterface()
True iff the type is an interface |
FluentMethod |
staticMethod(org.hamcrest.Matcher<? super FluentMethod> methodNamed)
Find the first static method matching the supplied matcher |
Methods inherited from interface com.lexicalscope.fluentreflection.FluentAccess |
---|
assignableFromObject, assignableTo, boxedType, call, call, canBeBoxed, canBeUnboxed, classUnderReflection, declaredFields, declaredMethods, field, fields, fields, interfaces, isPrimitive, isType, isUnboxable, method, method, methods, methods, name, simpleName, superclasses, type, typeArgument, unboxedType |
Methods inherited from interface com.lexicalscope.fluentreflection.FluentAnnotated |
---|
annotatedWith, annotatedWith, annotation, annotation |
Method Detail |
---|
boolean isInterface()
FluentClass<?> asType(org.hamcrest.Matcher<FluentClass<?>> typeMatcher)
typeMatcher
- matcher on the required type
T constructRaw(Object... args)
FluentObject<T> construct(Object... args)
List<FluentConstructor<T>> constructors(org.hamcrest.Matcher<? super FluentConstructor<?>> constructorMatcher)
constructorMatcher
- matches the constructors
FluentConstructor<T> constructor(org.hamcrest.Matcher<? super FluentConstructor<?>> constructorMatcher)
constructorMatcher
- matches the method
FluentMethod staticMethod(org.hamcrest.Matcher<? super FluentMethod> methodNamed)
methodNamed
- matches the method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |