Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adds header and author
  • Loading branch information
thmasker committed Jul 31, 2025
commit b749cc7e92e4675bd8748c1b32f2558014f81eda
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.source.interfaces;

/**
* @author Diego Pedregal
*/
public interface A {

B b();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.source.interfaces;

/**
* @author Diego Pedregal
*/
public record E(F f, G g) {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.source.interfaces;

/**
* @author Diego Pedregal
*/
public record F(H h) {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.source.interfaces;

/**
* @author Diego Pedregal
*/
public record G(String g) {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.source.interfaces;

/**
* @author Diego Pedregal
*/
public record H(String h) {
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.source.interfaces;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

/**
* @author Diego Pedregal
*/
@Mapper
public interface InterfaceMapper {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.source.interfaces;

import org.mapstruct.ap.testutil.IssueKey;
import org.mapstruct.ap.testutil.ProcessorTest;
import org.mapstruct.ap.testutil.WithClasses;

/**
* @author Diego Pedregal
*/
@WithClasses({
InterfaceMapper.class,
A.class,
Expand Down