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

com.signalfx.shaded.google.errorprone.annotations.InlineMeValidationDisabled Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2021 The Error Prone Authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.signalfx.shaded.google.errorprone.annotations;

import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.METHOD;

import java.lang.annotation.Target;

/**
 * An annotation that disables validation of the {@link InlineMe} annotation's correctness (i.e.:
 * that it accurately represents an inlining of the annotated method).
 */
@Target({METHOD, CONSTRUCTOR})
public @interface InlineMeValidationDisabled {
  /**
   * An explanation as to why the validation is disabled (e.g.: moving from a constructor to a
   * static factory method that delegates to this constructor, which is behavior-perserving, but
   * isn't strictly an inlining).
   */
  String value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy