All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.core.annotation.Immutable Maven / Gradle / Ivy

There is a newer version: 1.54.1
Show newest version
// 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