/** * Creates a QualifiedName from a method. * * <p>This factory method will create a QualifiedName from the Method itself. * * @param method Type method that returns a Property, for which the QualifiedName will be * representing. * @return A QualifiedName representing this method. * @throws NullArgumentException If the {@code method} argument passed is null. */ public static QualifiedName fromAccessor(AccessibleObject method) { NullArgumentException.validateNotNull("method", method); return fromClass(((Member) method).getDeclaringClass(), ((Member) method).getName()); }
public DataSourceAssembler withCircuitBreaker(CircuitBreaker circuitBreaker) { NullArgumentException.validateNotNull("CircuitBreaker", circuitBreaker); this.circuitBreaker = circuitBreaker; return this; }
QualifiedName(TypeName typeName, String name) { NullArgumentException.validateNotNull("typeName", typeName); NullArgumentException.validateNotEmpty("name", name); this.typeName = typeName; this.name = name; }
public DataSourceAssembler withDataSourceServiceIdentity(String dataSourceServiceId) { NullArgumentException.validateNotNull("DataSourceService identity", dataSourceServiceId); this.dataSourceServiceId = dataSourceServiceId; return this; }