|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MemberFilter
This class serves as a filter for selecting members in
a Class
or from an array.
Method Summary | |
---|---|
boolean |
areConstructorsAllowed()
Should return true iff the filter allows constructors to be contained in the output. |
boolean |
areDeclaredOnly()
If filter is used to retrieve members from a class, this method should return true iff only members that are declared in the given class are to be returned, discarding members that are declared in superclasses or superinterfaces. |
boolean |
areFieldsAllowed()
Should return true iff the filter allows fields. |
boolean |
areMethodsAllowed()
Should return true iff the filter allows methods. |
boolean |
arePublicOnly()
Should return true iff the filter discards all the non-public members. |
boolean |
isAllowed(java.lang.reflect.Member member)
When other methods in this class are not sufficient for the filter implementation, this method should be used. |
Method Detail |
---|
boolean areConstructorsAllowed()
isAllowed(Member)
method.
boolean areDeclaredOnly()
boolean areFieldsAllowed()
boolean areMethodsAllowed()
boolean arePublicOnly()
boolean isAllowed(java.lang.reflect.Member member)
member
- Member
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |