ProhibitMethodsNamed Class — spring-boot Architecture
Architecture documentation for the ProhibitMethodsNamed class in TaskConfigurationAvoidanceTests.java from the spring-boot codebase.
Entity Profile
Source Code
build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/TaskConfigurationAvoidanceTests.java lines 110–126
static class ProhibitMethodsNamed implements Predicate<JavaMethodCall> {
private final Class<?> owner;
private final String name;
ProhibitMethodsNamed(Class<?> owner, String name) {
this.owner = owner;
this.name = name;
}
@Override
public boolean test(JavaMethodCall methodCall) {
return methodCall.getTargetOwner().isEquivalentTo(this.owner) && methodCall.getName().equals(this.name);
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free