Top Description Constructors Methods
io.vavr.match

pack-priv Class UnapplyChecker

extends Object
Class Inheritance
Imports
javax.annotation.processing.Messager, javax.lang.model.element.ExecutableElement, .Modifier, javax.lang.model.type.TypeKind, javax.tools.Diagnostic, java.util.Arrays, .Set, java.util.function.Supplier

Checks if an javax.lang.model.element.ExecutableElement is a valid @Unapply method.
Author
Daniel Dietrich

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static boolean
private static boolean
ensure(ExecutableElement elem, boolean condition, Messager messager, Supplier<String> msg)

private static boolean
hasAll(ExecutableElement elem, Modifier... modifiers)

private static boolean
hasNone(ExecutableElement elem, Modifier... modifiers)

pack-priv static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

UnapplyCheckerback to summary
pack-priv UnapplyChecker()

Method Detail

doesNotThrowback to summary
private static boolean doesNotThrow(ExecutableElement elem)
ensureback to summary
private static boolean ensure(ExecutableElement elem, boolean condition, Messager messager, Supplier<String> msg)
hasAllback to summary
private static boolean hasAll(ExecutableElement elem, Modifier... modifiers)
hasNoneback to summary
private static boolean hasNone(ExecutableElement elem, Modifier... modifiers)
isValidback to summary
pack-priv static boolean isValid(ExecutableElement elem, Messager messager)