Package org.signal.libsignal.internal
Class CalledFromNative.Enforcement
-
- All Implemented Interfaces:
public final class CalledFromNative.Enforcement
-
-
Constructor Summary
Constructors Constructor Description CalledFromNative.Enforcement()
-
Method Summary
Modifier and Type Method Description final static UnitcheckConstructor(Constructor<?> constructor)Checks that the constructor for the given class that takes the given arguments is annotated to avoid being stripped. final static UnitcheckCalledMethod(Method method)Checks that the called method on the given target is annotated to avoid being stripped. final static UnitcheckCalledStaticMethod(Method method)Checks that the called static method on the given target is annotated to avoid being stripped. -
-
Method Detail
-
checkConstructor
final static Unit checkConstructor(Constructor<?> constructor)
Checks that the constructor for the given class that takes the given arguments is annotated to avoid being stripped.
-
checkCalledMethod
final static Unit checkCalledMethod(Method method)
Checks that the called method on the given target is annotated to avoid being stripped.
-
checkCalledStaticMethod
final static Unit checkCalledStaticMethod(Method method)
Checks that the called static method on the given target is annotated to avoid being stripped.
-
-
-
-