Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TNG/ArchUnit-Examples
/ functions
Functions
765 in github.com/TNG/ArchUnit-Examples
⨍
Functions
765
◇
Types & classes
508
Method
iAlsoMayAccessCore
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/core/AnotherGoodCoreSatellite.java:7
Method
iAlsoMayAccessCore
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/core/AnotherGoodCoreSatellite.java:7
Method
iAlsoMayAccessCore
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/core/AnotherGoodCoreSatellite.java:7
Method
iMayAccessCore
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/core/GoodCoreSatellite.java:7
Method
iMayAccessCore
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/core/GoodCoreSatellite.java:7
Method
iMayAccessCore
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/core/GoodCoreSatellite.java:7
Method
iShouldNotAccessCore
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/EvilCoreAccessor.java:7
Method
iShouldNotAccessCore
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/EvilCoreAccessor.java:7
Method
iShouldNotAccessCore
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/EvilCoreAccessor.java:7
Method
illegalAccessToController
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingLayerRules.java:22
Method
illegalAccessToController
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingLayerRules.java:22
Method
illegalAccessToController
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingLayerRules.java:22
Method
illegallyInstantiateThirdPartyClass
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:8
Method
illegallyInstantiateThirdPartyClass
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:8
Method
illegallyInstantiateThirdPartyClass
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:8
Method
illegallyInstantiateThirdPartySubclass
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:16
Method
illegallyInstantiateThirdPartySubclass
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:16
Method
illegallyInstantiateThirdPartySubclass
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingThirdPartyRules.java:16
Method
illegallyUseEntityManager
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingDaoRules.java:25
Method
illegallyUseEntityManager
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingDaoRules.java:25
Method
illegallyUseEntityManager
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingDaoRules.java:25
Method
init
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/OtherClassViolatingSessionBeanRules.java:12
Method
init
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingSessionBeanRules.java:19
Method
init
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/OtherClassViolatingSessionBeanRules.java:12
Method
init
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingSessionBeanRules.java:19
Method
init
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/OtherClassViolatingSessionBeanRules.java:12
Method
init
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingSessionBeanRules.java:19
Method
interfaces_must_not_be_placed_in_implementation_packages
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/InterfaceRulesTest.java:29
Method
interfaces_should_not_have_names_ending_with_the_word_interface
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/InterfaceRulesTest.java:19
Method
interfaces_should_not_have_simple_class_names_containing_the_word_interface
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/InterfaceRulesTest.java:24
Method
jodaTimeIsBad
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingCodingRules.java:30
Method
jodaTimeIsBad
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingCodingRules.java:30
Method
jodaTimeIsBad
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/ClassViolatingCodingRules.java:30
Method
layer_dependencies_are_respected
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/LayeredArchitectureTest.java:14
Method
layer_dependencies_are_respected_with_exception
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/LayeredArchitectureTest.java:29
Method
loggers_should_be_private_static_final
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CodingRulesTest.java:44
Method
main
(String[] args)
example-junit5/src/main/java/com/tngtech/archunit/example/onionarchitecture/application/ShoppingApplication.java:4
Method
main
(String[] args)
example-junit5/src/main/java/com/tngtech/archunit/example/onionarchitecture/adapter/cli/AdministrationCLI.java:9
Method
main
(String[] args)
example-junit5/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/ShoppingApplication.java:7
Method
main
(String[] args)
example-junit5/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/administration/AdministrationCLI.java:11
Method
main
(String[] args)
example-plain/src/main/java/com/tngtech/archunit/example/onionarchitecture/application/ShoppingApplication.java:4
Method
main
(String[] args)
example-plain/src/main/java/com/tngtech/archunit/example/onionarchitecture/adapter/cli/AdministrationCLI.java:9
Method
main
(String[] args)
example-plain/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/ShoppingApplication.java:7
Method
main
(String[] args)
example-plain/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/administration/AdministrationCLI.java:11
Method
main
(String[] args)
example-junit4/src/main/java/com/tngtech/archunit/example/onionarchitecture/application/ShoppingApplication.java:4
Method
main
(String[] args)
example-junit4/src/main/java/com/tngtech/archunit/example/onionarchitecture/adapter/cli/AdministrationCLI.java:9
Method
main
(String[] args)
example-junit4/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/ShoppingApplication.java:7
Method
main
(String[] args)
example-junit4/src/main/java/com/tngtech/archunit/example/onionarchitecture_by_annotations/onion/administration/AdministrationCLI.java:11
Method
methodBypassingAsyncProxy
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingProxyRules.java:5
Method
methodBypassingAsyncProxy
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingProxyRules.java:5
Method
methodBypassingAsyncProxy
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/ServiceViolatingProxyRules.java:5
Method
methodWithGenericParameterTypeViolatingLayerRule
(Map<?, Map<SomeEnum, ? extends SomeUtility>> param)
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:19
Method
methodWithGenericParameterTypeViolatingLayerRule
(Map<?, Map<SomeEnum, ? extends SomeUtility>> param)
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:19
Method
methodWithGenericParameterTypeViolatingLayerRule
(Map<?, Map<SomeEnum, ? extends SomeUtility>> param)
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:19
Method
methodWithGenericReturnTypeViolatingLayerRule
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:15
Method
methodWithGenericReturnTypeViolatingLayerRule
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:15
Method
methodWithGenericReturnTypeViolatingLayerRule
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/service/SpecialServiceHelper.java:15
Method
methodWithParameterInSliceThree
(SliceThreeWithMethodReturnTypeInSliceFour methodParameter)
example-junit5/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice2/SliceTwoWithMethodParameterTypeInSliceThree.java:6
Method
methodWithParameterInSliceThree
(SliceThreeWithMethodReturnTypeInSliceFour methodParameter)
example-plain/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice2/SliceTwoWithMethodParameterTypeInSliceThree.java:6
Method
methodWithParameterInSliceThree
(SliceThreeWithMethodReturnTypeInSliceFour methodParameter)
example-junit4/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice2/SliceTwoWithMethodParameterTypeInSliceThree.java:6
Method
methodWithReturnTypeInSliceFour
()
example-junit5/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice3/SliceThreeWithMethodReturnTypeInSliceFour.java:6
Method
methodWithReturnTypeInSliceFour
()
example-plain/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice3/SliceThreeWithMethodReturnTypeInSliceFour.java:6
Method
methodWithReturnTypeInSliceFour
()
example-junit4/src/main/java/com/tngtech/archunit/example/cycles/membercycle/slice3/SliceThreeWithMethodReturnTypeInSliceFour.java:6
Method
modules_should_be_free_of_cycles
This example demonstrates how to check for cyclic dependencies between modules.
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:148
Method
modules_should_only_depend_on_each_other_through_module_API
This example demonstrates how to check that modules only depend on each other through a specific API.
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:137
Method
modules_should_respect_their_declared_dependencies__use_annotation_API
This example demonstrates how to easily derive modules from classes annotated with a certain annotation, and also test for allowed dependencies using
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:76
Method
modules_should_respect_their_declared_dependencies__use_generic_API
This example demonstrates how to use the generic API to define modules. The result in this example again is the same as the above, however in general
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:121
Method
modules_should_respect_their_declared_dependencies__use_package_API
This example demonstrates how to derive modules from a package pattern. The `..` stands for arbitrary many packages and the `( )` captures one specifi
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:38
Method
modules_should_respect_their_declared_dependencies__use_root_class_API
This example demonstrates how to use the slightly more generic root class API to define modules. While the result in this example is the same as the a
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:95
Method
modules_should_respect_their_declared_dependencies_and_exposed_packages
This example demonstrates how to easily derive modules from classes annotated with a certain annotation, and also test for allowed dependencies and co
example-plain/src/test/java/com/tngtech/archunit/exampletest/ModulesTest.java:59
Method
no_access_to_standard_streams_as_method
(JavaClasses classes)
example-junit5/src/test/java/com/tngtech/archunit/exampletest/junit5/CodingRulesTest.java:26
Method
no_access_to_standard_streams_as_method
(JavaClasses classes)
example-junit4/src/test/java/com/tngtech/archunit/exampletest/junit4/CodingRulesTest.java:29
Method
no_accesses_to_upper_package
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/DependencyRulesTest.java:14
Method
no_bypass_of_proxy_logic
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/ProxyRulesTest.java:15
Method
no_classes_should_access_standard_streams_or_throw_generic_exceptions
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CodingRulesTest.java:64
Method
no_classes_should_depend_on_service
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/FrozenRulesTest.java:30
Method
no_classes_should_use_the_EntityManager
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/FrozenRulesTest.java:36
Method
no_cycles_by_constructor_calls_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:28
Method
no_cycles_by_field_access_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:42
Method
no_cycles_by_inheritance_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:35
Method
no_cycles_by_member_dependencies_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:49
Method
no_cycles_by_method_calls_between_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:21
Method
no_cycles_in_complex_scenario
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:63
Method
no_cycles_in_complex_scenario_with_custom_ignore
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:70
Method
no_cycles_in_freely_customized_slices
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:80
Method
no_cycles_in_simple_scenario
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/CyclicDependencyRulesTest.java:56
Method
no_new_classes_should_implement_SomeBusinessInterface
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/RestrictNumberOfClassesWithACertainPropertyTest.java:16
Method
okaySinceTheVisibilityIsNonPublic
()
example-junit5/src/main/java/com/tngtech/archunit/example/layers/anticorruption/InternalUtility.java:6
Method
okaySinceTheVisibilityIsNonPublic
()
example-plain/src/main/java/com/tngtech/archunit/example/layers/anticorruption/InternalUtility.java:6
Method
okaySinceTheVisibilityIsNonPublic
()
example-junit4/src/main/java/com/tngtech/archunit/example/layers/anticorruption/InternalUtility.java:6
Method
onion_architecture_defined_by_annotations
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/OnionArchitectureTest.java:56
Method
onion_architecture_is_respected
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/OnionArchitectureTest.java:29
Method
onion_architecture_is_respected_with_exception
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/OnionArchitectureTest.java:41
Method
only_DAOs_may_use_the_EntityManager
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/DaoRulesTest.java:38
Method
only_security_infrastructure_should_use_java_security
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/SecurityTest.java:12
Method
only_security_infrastructure_should_use_java_security_on_whole_classpath
()
example-plain/src/test/java/com/tngtech/archunit/exampletest/SecurityTest.java:23
Method
otherIllegalMethod
(String param)
example-junit5/src/main/java/com/tngtech/archunit/example/layers/anticorruption/WithIllegalReturnType.java:12
Method
otherIllegalMethod
(String param)
example-plain/src/main/java/com/tngtech/archunit/example/layers/anticorruption/WithIllegalReturnType.java:12
Method
otherIllegalMethod
(String param)
example-junit4/src/main/java/com/tngtech/archunit/example/layers/anticorruption/WithIllegalReturnType.java:12
Method
otherMethod
(int param)
example-junit5/src/main/java/com/tngtech/archunit/example/layers/anticorruption/WellBehaved.java:6
← previous
next →
501–600 of 765, ranked by callers