1f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson/* Licensed to the Apache Software Foundation (ASF) under one or more
2f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson * contributor license agreements.  See the NOTICE file distributed with
3f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson * this work for additional information regarding copyright ownership.
4f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson * The ASF licenses this file to You under the Apache License, Version 2.0
5f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson * (the "License"); you may not use this file except in compliance with
6f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson * the License.  You may obtain a copy of the License at
7f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes *
8f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson *     http://www.apache.org/licenses/LICENSE-2.0
9f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes *
10adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * Unless required by applicable law or agreed to in writing, software
11adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * distributed under the License is distributed on an "AS IS" BASIS,
12adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * See the License for the specific language governing permissions and
14adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * limitations under the License.
15adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project */
16adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
17adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Projectpackage java.lang;
18adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
19f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilsonimport java.lang.annotation.ElementType;
20adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Projectimport java.lang.annotation.Retention;
21f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilsonimport java.lang.annotation.RetentionPolicy;
22f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilsonimport java.lang.annotation.Target;
23adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project
24adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project/**
25f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson * Annotation type used to mark methods that override a method declaration in a
26f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson * superclass. Compilers produce an error if a method annotated with @Override
27f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson * does not actually override a method in a superclass.
28f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson *
29f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson * @since 1.5
30adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project */
31f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson@Target(ElementType.METHOD)
32f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilson@Retention(RetentionPolicy.SOURCE)
33f5597e626ecf7949d249dea08c1a2964d890ec11Jesse Wilsonpublic @interface Override {
34adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project}
35