com.azure.core.annotation.Immutable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-core Show documentation
Show all versions of azure-core Show documentation
This package contains core types for Azure Java clients.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.core.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.SOURCE;
/**
* Annotation given to all immutable classes. If a class has this annotation, checks can be made to ensure all fields in
* this class are final.
*/
@Retention(SOURCE)
@Target(TYPE)
public @interface Immutable {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy