Class EntryPoints.EntryPoint
java.lang.Object
org.springframework.modulith.core.EntryPoints.EntryPoint
- Enclosing class:
- EntryPoints
A method or constructor that forms an entry point into the
ApplicationModule that this EntryPoints
instance was created for, i.e. code that can trigger module behavior from the outside, either because it's part of
the module's exposed, public API, or because some framework infrastructure invokes it directly.- Since:
- 2.2
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionboolean(package private) com.tngtech.archunit.core.domain.JavaCodeUnitReturns the method or constructor that forms the entry point.(package private) com.tngtech.archunit.core.domain.JavaClassgetType()Returns the type the entry point is declared on.inthashCode()(package private) booleanmatches(com.tngtech.archunit.core.domain.JavaMethod candidate) Returns whether thisEntryPoints.EntryPoint's method is a module interface method overridden by the given candidate, i.e. whether thisEntryPoints.EntryPointis a suitable, preferred stand-in for it.toString()
-
Method Details
-
getType
com.tngtech.archunit.core.domain.JavaClass getType()Returns the type the entry point is declared on.- Returns:
- will never be null.
-
getMethod
com.tngtech.archunit.core.domain.JavaCodeUnit getMethod()Returns the method or constructor that forms the entry point.- Returns:
- will never be null.
-
matches
boolean matches(com.tngtech.archunit.core.domain.JavaMethod candidate) Returns whether thisEntryPoints.EntryPoint's method is a module interface method overridden by the given candidate, i.e. whether thisEntryPoints.EntryPointis a suitable, preferred stand-in for it.- Parameters:
candidate- must not be null.- See Also:
-
EntryPoints.interfaceMethodsOverriddenBy(JavaMethod)
-
toString
-
equals
-
hashCode
public int hashCode()
-