Class ImmutabilityChecker


  • public final class ImmutabilityChecker
    extends Object
    Checks for class immutability.

    The class is thread-safe.

    Since:
    0.7.8
    • Constructor Detail

      • ImmutabilityChecker

        public ImmutabilityChecker()
    • Method Detail

      • after

        public void after​(org.aspectj.lang.JoinPoint point)
        Catch instantiation and validate class.

        Try NOT to change the signature of this method, in order to keep it backward compatible.

        Parameters:
        point - Joint point