add license headers

This commit is contained in:
dfsek
2021-11-19 15:42:26 -07:00
parent c52d8b3804
commit 5d3afcc82c
374 changed files with 4389 additions and 77 deletions

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.inject;
import com.dfsek.terra.api.inject.annotations.Inject;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.inject.annotations;
import java.lang.annotation.ElementType;

View File

@@ -1,12 +1,22 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.inject.exception;
import com.dfsek.terra.api.inject.Injector;
import java.io.Serial;
/**
* Thrown when dynamic dependency injection cannot be completed by an {@link Injector}.
*/
public class InjectionException extends RuntimeException {
@Serial
private static final long serialVersionUID = -6929631447064215387L;
public InjectionException(String message) {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) 2020-2021 Polyhedral Development
*
* The Terra API is licensed under the terms of the MIT License. For more details,
* reference the LICENSE file in the common/api directory.
*/
package com.dfsek.terra.api.inject.impl;
import java.lang.reflect.Field;