Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class ${gemInfo.gemName} implements Gem {

// fetch all explicitely set annotation values in the annotation instance
Map<String, AnnotationValue> values = new HashMap<>( enclosed.size() );
mirror.getElementValues().entrySet().forEach( e -> values.put( e.getKey().getSimpleName().toString(), e.getValue() ) );
mirror.getElementValues().forEach( (key, value) -> values.put( key.getSimpleName().toString(), value ) );

// iterate and populate builder
for ( String methodName : defaultValues.keySet() ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public static <T> T build(AnnotationMirror mirror, Builder<T> builder ) {

// fetch all explicitely set annotation values in the annotation instance
Map<String, AnnotationValue> values = new HashMap<>( enclosed.size() );
mirror.getElementValues().entrySet().forEach( e -> values.put( e.getKey().getSimpleName().toString(), e.getValue() ) );
mirror.getElementValues().forEach( (key, value) -> values.put( key.getSimpleName().toString(), value ) );

// iterate and populate builder
for ( String methodName : defaultValues.keySet() ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static <T> T build(AnnotationMirror mirror, Builder<T> builder ) {

// fetch all explicitely set annotation values in the annotation instance
Map<String, AnnotationValue> values = new HashMap<>( enclosed.size() );
mirror.getElementValues().entrySet().forEach( e -> values.put( e.getKey().getSimpleName().toString(), e.getValue() ) );
mirror.getElementValues().forEach( (key, value) -> values.put( key.getSimpleName().toString(), value ) );

// iterate and populate builder
for ( String methodName : defaultValues.keySet() ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static <T> T build(AnnotationMirror mirror, Builder<T> builder ) {

// fetch all explicitely set annotation values in the annotation instance
Map<String, AnnotationValue> values = new HashMap<>( enclosed.size() );
mirror.getElementValues().entrySet().forEach( e -> values.put( e.getKey().getSimpleName().toString(), e.getValue() ) );
mirror.getElementValues().forEach( (key, value) -> values.put( key.getSimpleName().toString(), value ) );

// iterate and populate builder
for ( String methodName : defaultValues.keySet() ) {
Expand Down