public interface ClassMemberAccessPolicy
MemberAccessPolicy.forClass(Class)
. The idea is that MemberAccessPolicy.forClass(Class)
is called once per class, and then the methods of the resulting ClassMemberAccessPolicy
object will be
called for each member of the class. This can speed up the process as the class-specific lookups will be done only
once per class, not once per member.Modifier and Type | Method and Description |
---|---|
boolean |
isConstructorExposed(java.lang.reflect.Constructor<?> constructor) |
boolean |
isFieldExposed(java.lang.reflect.Field field) |
boolean |
isMethodExposed(java.lang.reflect.Method method) |