ClassMemberAccessPolicy (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.ext.beans, interface: ClassMemberAccessPolicy

Package freemarker.ext.beans

# Interface ClassMemberAccessPolicy

public interface ClassMemberAccessPolicy
Returned by `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.

Since:
  2.3.30

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isConstructorExposed​(Constructor<?> constructor)`
  `boolean`
  `isFieldExposed​(Field field)`
  `boolean`
  `isMethodExposed​(Method method)`

- ## Method Details

  - ### isMethodExposed

    boolean isMethodExposed​(Method method)

  - ### isConstructorExposed

    boolean isConstructorExposed​(Constructor<?> constructor)

  - ### isFieldExposed

    boolean isFieldExposed​(Field field)