Skip to content

Commit

Permalink
chore: license in LambdaUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
breitwan authored Aug 7, 2024
1 parent 3bb07de commit 5d316fd
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion plugin/src/main/java/net/elytrium/limboapi/utils/LambdaUtil.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2021 - 2024 Elytrium
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package net.elytrium.limboapi.utils;

import java.lang.invoke.LambdaMetafactory;
Expand Down Expand Up @@ -38,4 +55,4 @@ public static <T, R> BiConsumer<T, R> setterOf(Field f) throws Throwable {
type
).getTarget().invokeExact(handle);
}
}
}

0 comments on commit 5d316fd

Please sign in to comment.